In this chapter, we will look at the different options to configure Docker.
This command is used to stop the Docker daemon process.
service docker stop
None
A message showing that the Docker process has stopped.
sudo service docker stop
When we run the above command, it will produce the following result −
This command is used to start the Docker daemon process.
service docker start
None
A message showing that the Docker process has started.
sudo service docker start
When we run the above command, it will produce the following result −