Docker startup related commands

1.Docker service related commands

insert image description here
Operate the daemon
CentOS7 version to start docker

systemctl start docker
systemctl status docker

insert image description here
Stop the docker service:

systemctl stop docker

insert image description here
restart command

systemctl restart docker

Start docker on boot

systemctl enable docker

2. Summary

insert image description here

Guess you like

Origin blog.csdn.net/weixin_44860226/article/details/132258945