Day:2 Docker Update

[root@ip-172-31-14-110 centos]# docker update –cpu-shares 512 c04ba627e5ae ecstatic_shaw
d28b65c987d8
ecstatic_shaw
[root@ip-172-31-14-110 centos]# docker diff c04ba627e5ae
C /tmp
A /tmp/jetty-0_0_0_0-8080-war-_-any-8581425030792705993
A /tmp/winstone6787664488571520537.jar
A /tmp/hsperfdata_jenkins
A /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 c04ba627e5ae
0
[root@ip-172-31-15-56 centos]#

[root@ip-172-31-15-56 centos]# docker wait c04ba627e5ae
137
[root@ip-172-31-15-56 centos]#