参考如下命令:

查看docker状态:

sudo systemctl status docker

如图启动状态:

停止docker服务:

sudo systemctl stop docker