Docker Image

It is a record of a Docker container at a specific point in time. A Docker image has many layers, and each image includes everything needed to configure a container environment — system libraries, tools, dependencies and other files. Docker images also act as the starting point when using Docker

Read more

docker wait

blocks container and when container is stop ,it prints their exit code [root@ip-172-31-4-255 centos]# docker run -dit –name=my_container ubuntu bashdcd196da19b9c9b356597efa55b442fe0479f7c4f66d6dcf6745fab0995a64eb[root@ip-172-31-4-255 centos]# docker wait my_container in duplicated terminal [root@ip-172-31-4-255 centos]# docker stop my_containermy_container in previous terminal [root@ip-172-31-4-255 centos]# docker wait my_container0

Read more