linux安装docker

只要遇到选择一路都点y

常用语法

1.关闭docker语句:systemctl stop docker

2.启动docker语句: systemctl start docker

第一步:

安装linux,自己去查吧。

第二步
打开资料

第三步(作者的步骤)

(1)yum list installed | grep docker

(2)

1.yum remove docker-ce docker-ce-cli containerd.io

2.1 rm -rf /var/lib/docker

2.2 yum remove docker

docker-client

docker-client-latest

docker-common

docker-latest

docker-latest-logrotate

docker-logrotate

docker-selinux

docker-engine-selinux

docker-engine

docker-ce

(3)sudo yum install -y yum-utils

(4)systemctl start docker

(5)docker search hello-world

(6)docker pull hello-world

(7)docker run hello-world

结束完美撒花!!!

相关推荐
江畔何人初31 分钟前
iptables 和 IPVS 代理模式 Service 的区别
linux·运维·服务器·网络·云原生·kubernetes·代理模式
xuefeiniao4 小时前
docker.desktop无法启动,导出镜像后
服务器·docker
123过去4 小时前
nfc-list使用教程
linux·网络·测试工具·安全
灰阳阳5 小时前
Dockerfile实践-构建Nginx镜像
运维·nginx·docker·dockerfile
evo-master5 小时前
网络故障排除方法
linux·服务器·网络
xlq223229 小时前
35.信号
linux
白鸽梦游指南9 小时前
docker镜像优化
linux·运维·docker
A.A呐9 小时前
【Linux第十九章】网络基础
linux·网络
陳10309 小时前
Linux:基础开发工具
linux·运维·服务器
sg_knight9 小时前
CentOS 裸机实操:5分钟完成 MinIO 单机部署与公网访问
linux·python·centos·文件管理·minio·ftp·oss