首页 > 其他 > 详细

docker的安装与删除(centos8)

时间:2021-05-22 23:24:43      阅读:15      评论:0      收藏:0      [点我收藏+]

安装docker-ce

sudo yum install docker-ce docker-ce-cli containerd.io

查看docker状态

systemctl status docker
# Active:active(running)正常运行
# Active:inactive(dead)停止运行

启动docker

systemctl start docke

停止dokcer

systemctl stop docker

设置开机启动

systemctl enable docker

删除

yum list installed |grep docker

yum -y remove docker.x86_64 
rm -rf /var/lib/docker

 

What do the applications do?

  • containerd.io - daemon to interface with the OS API (in this case, LXC - Linux Containers), essentially decouples Docker from the OS, also provides container services for non-Docker container managers

  • docker-ce - Docker daemon, this is the part that does all the management work, requires the other two on Linux

  • docker-ce-cli - CLI tools to control the daemon, you can install them on their own if you want to control a remote Docker daemon

docker的安装与删除(centos8)

原文:https://www.cnblogs.com/acestart/p/14799422.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!