Before we start learning how to launch containers, we should quickly discuss some of the more common terminology we are going to be using in this chapter.
Tip
Please note, the Docker commands in this chapter have been written for use with Docker 1.13 and later. Trying to run commands such as docker image pull nginx
in older versions will fail with an error. Please refer to Chapter 1, Installing Docker Locally for details on how to install the latest version of Docker.
A Docker image is a collection of all the files that make up an executable software application. This collection includes the application plus all the libraries, binaries, and other dependencies such as deployment descriptors and so on. just needed just to run the application everywhere without any hitch or hurdle. These files in the Docker image are read-only and hence the content of the image cannot be altered. If you choose to alter the content of your image, the only option Docker allows is...