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

结束完美撒花!!!

相关推荐
郝亚军1 小时前
ubuntu-18.04.6-desktop-amd64安装步骤
linux·运维·ubuntu
Konwledging2 小时前
kernel-devel_kernel-headers_libmodules
linux
Web极客码2 小时前
CentOS 7.x如何快速升级到CentOS 7.9
linux·运维·centos
一位赵2 小时前
小练2 选择题
linux·运维·windows
代码游侠2 小时前
学习笔记——Linux字符设备驱动开发
linux·arm开发·驱动开发·单片机·嵌入式硬件·学习·算法
Lw老王要学习3 小时前
CentOS 7.9达梦数据库安装全流程解析
linux·运维·数据库·centos·达梦
CRUD酱3 小时前
CentOS的yum仓库失效问题解决(换镜像源)
linux·运维·服务器·centos
zly35004 小时前
VMware vCenter Converter Standalone 转换Linux系统,出现两个磁盘的处理
linux·运维·服务器
H Journey4 小时前
Docker Swarm集群管理
docker·集群管理·swarm
Albert Edison4 小时前
【Python】函数
java·linux·python·pip