Skip to content

docker 进程相关操作

查看 docker 版本

bash
docker -v

查看 docker 命令

bash
docker --help

查看 docker 服务端与客户端版本详情

bash
docker version

启动 docker

bash
systemctl start docker

关闭 docker

bash
systemctl stop docker

重启 docker

bash
systemctl restart docker

查看 docker 运行状态

bash
systemctl status docker

关闭防火墙

bash
systemctl stop firewalld