docker 常用命令

1.docker 删除images
docker rmi imageId
2.docker 列出容器
docker ps
-a显示全部
3.
启动docker:
systemctl start docker
停止docker:
systemctl stop docker
重启docker:
systemctl restart docker
查看docker状态:
systemctl status docker
开机启动:
systemctl enable docker

posted @ 2022-03-07 17:05  rookiexwang  阅读(13)  评论(0编辑  收藏  举报