Finding help with the Docker command line
Docker commands are well documented, and can be referred to whenever needed. Lots of documentation is available online as well, but it might differ from the documentation for the Docker version you are running.
Getting ready
First, install Docker on your system.
How to do it…
- On a Linux-based system, you can use the
man
command to find help, as follows:
$ man docker
- Subcommand-specific help can also be found with either of the following commands:
$ man docker ps $ man docker-ps
How it works…
The man
command uses the man
pages installed by the Docker package to provide help.
See also
For more information, see the documentation on the Docker website at https://docs.docker.com/engine/reference/commandline/cli/.