Home > Operation and Maintenance > Docker > How to start docker

How to start docker

王林
Release: 2020-04-05 09:26:24
Original
6287 people have browsed it

How to start docker

The above line represents the centos7.x command.

The following line represents the centos6.x command.

docker startup

systemctl start docker
service docker start
Copy after login

Restart docker service

systemctl restart  docker
sudo service docker restart
Copy after login

Close docker

systemctl stop docker
service docker stop
Copy after login

Check whether the startup is successful

docker ps -a
Copy after login

Related tutorial recommendations:docker tutorial

The above is the detailed content of How to start docker. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template