All Docker commands can be found by executing the following help command:
$ docker help
To see all the options of any particular Docker command, we can use docker help <command>, for example:
$ docker help run
There is also a very good explanation of all Docker commands on the official Docker page https://docs.docker.com/engine/reference/commandline/docker/. It's really worth reading or at least skimming through.
In this chapter, we've covered the most useful commands and their options. As a quick reminder, let's walk through them:
Command | Explanation |
docker build |
Build an image from a Dockerfile |
docker commit |
Create an image from the container |
docker diff |
Show changes in the container |
docker images |
List images |
docker info |
Display Docker information |
docker inspect |
Show the configuration of the Docker image... |