Obtaining Docker system information
Whenever we need to troubleshoot our system, the commands presented in this section are essential. They provide us with a lot about the Docker engine installed on the host and about the host operating system. Let's first introduce the docker version
command. It provides abundant information about the Docker client and server that your current configuration is using. If you enter the command in the CLI, you should see something similar to this:
Version Information about Docker
In my case, I can see that on both client and server, I am using version 18.04.0-ce-rc2
of the Docker engine. I can also see that my orchestrator is Swarm and more.
Now to clarify what the client and what the server is, let's look at the following diagram:
CLI accessing different Docker Hosts
You can see that the client is the little CLI through which we send Docker commands to the remote API of the Docker host. The Docker host is the container runtime which hosts the containers and might...