设置镜像加速器 vi /etc/docker/daemon.json
{"registry-mirrors": ["http://hub-mirror.c.163.com"] }
Docker的启动与停止,systemctl命令是系统服务管理指令
启动docker
systemctl start docker
停止docker
systemctl stop docker
重启docker
systemctl restart docker
查看docker状态
systemctl status docker
设置开机启动
systemctl enable docker
查看docker概要信息
systemctl info
其他常用命令请参考菜鸟教程:https://www.runoob.com/docker/docker-command-manual.html