docker的安装与删除(centos8)
2021/5/23 7:27:50
本文主要是介绍docker的安装与删除(centos8),对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
安装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)的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-11-19Docker-Compose容器集群化项目实战:新手入门指南
- 2024-11-19Docker镜像仓库项目实战:新手入门教程
- 2024-11-19Docker容器化部署项目实战:新手入门教程
- 2024-11-19Docker-Compose容器集群化资料入门教程
- 2024-11-19Docker镜像仓库资料详解:新手入门教程
- 2024-11-19Docker容器化部署资料:新手入门指南
- 2024-11-19Docker-Compose容器集群化教程:从入门到实践
- 2024-11-19Docker镜像仓库教程:新手入门指南
- 2024-11-19Docker容器化部署教程:初学者指南
- 2024-11-18Docker-Compose容器集群化入门教程