Before we dive into the more complex Docker commands, let's review and go into a little more detail on the commands we have used in previous chapters.
In Chapter 1, Docker Overview, we launched the most basic container of all, the hello-world container, using the following command:
$ docker container run hello-world
As you may recall, this command pulls a 1.84 KB image from the Docker Hub. You can find the Docker Store page for the image at https://store.docker.com/images/hello-world/, and as per the following Dockerfile, it runs an executable called hello:
COPY hello /
The hello executable prints the Hello from Docker! text to the Terminal, and...