In docker, the command to restart the docker service is "systemctl restart docker"; the function of this command is to restart the docker service. After restarting, you can use the "dockers version" command to verify whether the restart is successful.
The operating environment of this tutorial: linux7.3 system, docker-1.13.1 version, Dell G3 computer.
What is the command to restart docker
Start docker, command: systemctl start docker
Verify whether docker starts successfully, command: dockers version
# Restart docker, command: systemctl restart docker
Close docker, command: systemctl stop docker
Recommended study: "docker video tutorial"
The above is the detailed content of What is the command to restart docker. For more information, please follow other related articles on the PHP Chinese website!