Release Notes
Announcements
Release Notes


docker ps command to view the container you want to log in to.[root@VM_88_88_centos ~]# docker ps | grep 75b3b15af61a75b3b15af61a nginx:latest "nginx -g 'daemon off" About a minute ago Up About a minute k8s_worid.e8b44cc_worid-24bn2_default_81a59654-aa14-11e6-8a18-52540093c40b_42c0b746
docker exec command to log in to the container.[root@VM_0_60_centos ~]# docker ps | grep 75b3b15af61a75b3b15af61a nginx:latest "nginx -g 'daemon off" 2 minutes ago Up 2 minutes k8s_worid.e8b44cc_worid-24bn2_default_81a59654-aa14-11e6-8a18-52540093c40b_6b389dd2[root@VM_0_60_centos ~]# docker exec -it 75b3b15af61a /bin/bashroot@worid-24bn2:/# lsbin boot devetc home liblib64 media mnt optproc root run sbin srv sys tmp usr var
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback