The command for docker to start the service is: 1. Restart the daemon process, the code is [sudo systemctl daemon-reload]; 2. Restart the docker service, the code is [sudo systemctl daemon-reload].
The command for docker to start the service is:
1. Start
systemctl start docker
2. Guardian Process restart
sudo systemctl daemon-reload
3. Restart docker service
systemctl restart docker
4. Restart docker service
sudo service docker restart
5. Close docker
service docker stop
6. Close docker
systemctl stop docker
Recommended related tutorials: docker tutorial
The above is the detailed content of What command does docker use to start the service?. For more information, please follow other related articles on the PHP Chinese website!