1.查看docker 运行状态
systemctl status docker
2.查看docker服务是否自启动
systemctl is-enabled docker
3.查看docker下运行的所有容器
4.启动docker
systemctl start docker
5. 启动docker下的容器
docker-compose -f docker-compose.yml up -d
或启动指定的容器
docker container start 7dfa8a9324c6 23947dcf98 # 可以不完整
标签:容器,compose,start,systemctl,linux,docker From: https://www.cnblogs.com/knighterrant/p/10739032.html