Now let's get our hands dirty on the Docker CLI. We will look at the most common commands and their use cases. The Docker commands are modeled after Linux and Git, so if you have used either of these, you will find yourself at home with Docker.
Only the most commonly used options are mentioned here. For the complete reference, you can check out the official documentation at https://docs.docker.com/reference/commandline/cli/.
If you have installed the
docker daemon through standard repositories, the command to start the
docker daemon would have been added to the
init script to automatically start as a service on startup. Otherwise, you will have to first run the
docker daemon yourself for the client commands to work. ...