Troubleshooting

Most of the time, you will not encounter any issues when installing Docker. However, unplanned failures might occur. Therefore, it is necessary to discuss prominent troubleshooting techniques and tips. Let's begin by discussing the troubleshooting knowhow in this section. The first tip is that the running status of Docker should be checked by using the following command:

$ sudo service docker status

However, if Docker has been installed by using the Ubuntu package, then you will have to use docker.io as the service name. If the docker service is running, then this command will print the status as start/running along with its process ID.

If you are still experiencing issues with the Docker setup, then you could open the Docker log ...

Get Learning Docker now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.