make sure the docker daemon is running code example Example: Start the Docker daemon sudo systemctl start docker sudo service docker start