systemctl命令是系统服务管理器指令
启动docker:
systemctl start docker
停止docker:
systemctl stop docker
重启docker:
systemctl restart docker
查看docker状态:
systemctl status docker
启动时的状态:
关闭时的状态:
开机启动:
systemctl enable docker
查看docker概要信息
docker info
查看docker帮助文档
docker --help