systemctl 命令是系统服务管理器指令
启动docker:
systemctl start docker
停止docker
systemctl stop docker
重启docker
systemctl restart docker
查看docker状态
systemctl status docker
开机启动:
systemctl enable docker
查看docker 概要信息
docker info
systemctl 命令是系统服务管理器指令
启动docker:
systemctl start docker
停止docker
systemctl stop docker
重启docker
systemctl restart docker
查看docker状态
systemctl status docker
开机启动:
systemctl enable docker
查看docker 概要信息
docker info