October 2018
Intermediate to advanced
420 pages
10h 26m
English
Now that Docker is properly installed and configured, let's see how to use it. First, Docker manages all Linux distribution images that can be run. They are stored locally on the computer that runs these images. Retrieving a new image is done with the pull command, as can be seen in the following example:
$ docker pull hello-world
This will retrieve the hello-world image from the public Docker image registry (https://hub.docker.com/). The list of images available locally now contains the hello-world image, as can be seen in the following code:
$ docker imagesREPOSITORY TAG IMAGE ID CREATED SIZEhello-world latest 2cb0d9787c4d 2 weeks ago 1.85kB
This image can now be executed. A running image is called an instance. ...