A quick review
Before we start, let's review the Docker and Dockerfile commands we covered previously in a single section in two lists that you can use as a reference later.
Docker commands
Here are all of the commands we covered for Docker with a few others added, which you might use if you build containers frequently:
Note
For more in-depth information about parameters required for each, or to see commands that we have not covered yet, type docker help
in the Terminal or the command by itself into the Terminal. You can also visit https://docs.docker.com/ and explore the documentation if the information provided by the CLI output is not good enough, and it may contain more recent data.
docker attach - Attach the shell's input/output/error stream to the container docker build - Build a Docker image based on a provided Dockerfile docker cp - Copy files between container and host docker exec - Execute a command in a running container docker images - List image available to your installation of...