Define Docker

Docker is a tool /platform to manage containersFast, consistent delivery of your applicationsfaster deployment and good performanceDocker is light weightuses less resourcescost savingtime savingeffective infra management

Read more

Day:2 Docker Update

[root@ip-172-31-14-110 centos]# docker update –cpu-shares 512 c04ba627e5ae ecstatic_shawd28b65c987d8ecstatic_shaw[root@ip-172-31-14-110 centos]# docker diff c04ba627e5aeC /tmpA /tmp/jetty-0_0_0_0-8080-war-_-any-8581425030792705993A /tmp/winstone6787664488571520537.jarA /tmp/hsperfdata_jenkinsA /tmp/hsperfdata_jenkins/7 wait docker wait command waits for one or more container to exit and provides the return status of the docker exit [root@ip-172-31-15-56 centos]# docker wait c04ba627e5ae0[root@ip-172-31-15-56 centos]# [root@ip-172-31-15-56 centos]# docker wait c04ba627e5ae137[root@ip-172-31-15-56 centos]#

Read more

Day1 Answers

What is the diff between docker pause and docker unpause? docker stop: Stop a running container (send SIGTERM, and then SIGKILL after grace period) […] The main process inside the container will receive SIGTERM, and after a grace period, SIGKILL. [emphasis mine] docker kill: Kill a running container (send SIGKILL, or specified signal) […] The main process inside the container will be sent SIGKILL, or any signal specified with option –signal. [emphasis mine] The docker unpause command un-suspends all processes in the

Read more