启动类命令:
# 启动docker
systemctl start docker
# 停止docker
systemctl stop docker
# 重启docker
systemctl restart docker
# 查看docker状态
systemctl status docker
# 设置开机自启动
systemctl enable docker
# 取消开机自启动
systemctl disable docker
# 查看docker的概要信息
docker info
帮助文档命令:
# 查看docker的总体帮助文档
docker --help
# 查看docker命令帮助文档,例如:查看run的详细解释
docker run --help