当前位置: 首页 > news >正文

福建省建设厅网站 登录google play官网

福建省建设厅网站 登录,google play官网,中午版wordpress,深圳网站建设力荐上榜网络🍁博主简介 🏅云计算领域优质创作者   🏅华为云开发者社区专家博主   🏅阿里云开发者社区专家博主 💊交流社区:运维交流社区 欢迎大家的加入! 文章目录卸载已有的docker部署指定版本docker安…

🍁博主简介

  🏅云计算领域优质创作者
  🏅华为云开发者社区专家博主
  🏅阿里云开发者社区专家博主
💊交流社区:运维交流社区 欢迎大家的加入!

文章目录

  • 卸载已有的docker
  • 部署指定版本docker
    • 安装需要的软件驱动
    • 配置docker下载的yum源
    • 查看yum源仓库所支持的docker版本都有哪些
    • 安装docker-ce和docker-ce-cli
    • 配置docker拉取镜像的源
    • 加载并启动docker服务、设置开机自启
    • 查看docker是否启动
    • 查看docker版本

卸载已有的docker

#查找已安装的docker包
rpm -qa | grep docker

在这里插入图片描述

#查找到有已安装的docker包并卸载;卸载docker-ce-cli就可以将其他都顺带卸载了;
yum remove docker-ce-cli-19.03.13-3.el7.x86_64 -y#卸载完之后再次查一下是否还有未删除的依赖
rpm -qa | grep docker
#没有了话就说明卸载成功了。

部署指定版本docker

安装需要的软件驱动

  • yum-utils:提供yum-config-manager功能
  • device-mapper-persistent-data、lvm2是devicemapper的依赖库
sudo yum install -y yum-utils device-mapper-persistent-data lvm2

配置docker下载的yum源

三种下载方式使用一种即可。

#直接wget下载阿里云的docker源
wget -P /etc/yum.repos.d/ https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo#使用yum-config-manager下载官方的docker源
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo#使用yum-config-manager下载阿里云的docker源
yum-config-manager --add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo

查看yum源仓库所支持的docker版本都有哪些

[root@localhost yum.repos.d]# yum list docker-ce --showduplicates | sort -r
已加载插件:fastestmirror
可安装的软件包* updates: mirrors.tuna.tsinghua.edu.cn
Loading mirror speeds from cached hostfile* extras: mirrors.tuna.tsinghua.edu.cn
docker-ce.x86_64            3:23.0.0-1.el7                      docker-ce-stable
docker-ce.x86_64            3:20.10.9-3.el7                     docker-ce-stable
docker-ce.x86_64            3:20.10.8-3.el7                     docker-ce-stable
docker-ce.x86_64            3:20.10.7-3.el7                     docker-ce-stable
docker-ce.x86_64            3:20.10.6-3.el7                     docker-ce-stable
docker-ce.x86_64            3:20.10.5-3.el7                     docker-ce-stable
docker-ce.x86_64            3:20.10.4-3.el7                     docker-ce-stable
docker-ce.x86_64            3:20.10.3-3.el7                     docker-ce-stable
docker-ce.x86_64            3:20.10.2-3.el7                     docker-ce-stable
docker-ce.x86_64            3:20.10.23-3.el7                    docker-ce-stable
docker-ce.x86_64            3:20.10.22-3.el7                    docker-ce-stable
docker-ce.x86_64            3:20.10.21-3.el7                    docker-ce-stable
docker-ce.x86_64            3:20.10.20-3.el7                    docker-ce-stable
docker-ce.x86_64            3:20.10.19-3.el7                    docker-ce-stable
docker-ce.x86_64            3:20.10.18-3.el7                    docker-ce-stable
docker-ce.x86_64            3:20.10.17-3.el7                    docker-ce-stable
docker-ce.x86_64            3:20.10.16-3.el7                    docker-ce-stable
docker-ce.x86_64            3:20.10.15-3.el7                    docker-ce-stable
docker-ce.x86_64            3:20.10.14-3.el7                    docker-ce-stable
docker-ce.x86_64            3:20.10.1-3.el7                     docker-ce-stable
docker-ce.x86_64            3:20.10.13-3.el7                    docker-ce-stable
docker-ce.x86_64            3:20.10.12-3.el7                    docker-ce-stable
docker-ce.x86_64            3:20.10.11-3.el7                    docker-ce-stable
docker-ce.x86_64            3:20.10.10-3.el7                    docker-ce-stable
docker-ce.x86_64            3:20.10.0-3.el7                     docker-ce-stable
docker-ce.x86_64            3:19.03.9-3.el7                     docker-ce-stable
docker-ce.x86_64            3:19.03.8-3.el7                     docker-ce-stable
docker-ce.x86_64            3:19.03.7-3.el7                     docker-ce-stable
docker-ce.x86_64            3:19.03.6-3.el7                     docker-ce-stable
docker-ce.x86_64            3:19.03.5-3.el7                     docker-ce-stable
docker-ce.x86_64            3:19.03.4-3.el7                     docker-ce-stable
docker-ce.x86_64            3:19.03.3-3.el7                     docker-ce-stable
docker-ce.x86_64            3:19.03.2-3.el7                     docker-ce-stable
docker-ce.x86_64            3:19.03.15-3.el7                    docker-ce-stable
docker-ce.x86_64            3:19.03.14-3.el7                    docker-ce-stable
docker-ce.x86_64            3:19.03.1-3.el7                     docker-ce-stable
docker-ce.x86_64            3:19.03.13-3.el7                    docker-ce-stable
docker-ce.x86_64            3:19.03.12-3.el7                    docker-ce-stable
docker-ce.x86_64            3:19.03.11-3.el7                    docker-ce-stable
docker-ce.x86_64            3:19.03.10-3.el7                    docker-ce-stable
docker-ce.x86_64            3:19.03.0-3.el7                     docker-ce-stable
docker-ce.x86_64            3:18.09.9-3.el7                     docker-ce-stable
docker-ce.x86_64            3:18.09.8-3.el7                     docker-ce-stable
docker-ce.x86_64            3:18.09.7-3.el7                     docker-ce-stable
docker-ce.x86_64            3:18.09.6-3.el7                     docker-ce-stable
docker-ce.x86_64            3:18.09.5-3.el7                     docker-ce-stable
docker-ce.x86_64            3:18.09.4-3.el7                     docker-ce-stable
docker-ce.x86_64            3:18.09.3-3.el7                     docker-ce-stable
docker-ce.x86_64            3:18.09.2-3.el7                     docker-ce-stable
docker-ce.x86_64            3:18.09.1-3.el7                     docker-ce-stable
docker-ce.x86_64            3:18.09.0-3.el7                     docker-ce-stable
docker-ce.x86_64            18.06.3.ce-3.el7                    docker-ce-stable
docker-ce.x86_64            18.06.2.ce-3.el7                    docker-ce-stable
docker-ce.x86_64            18.06.1.ce-3.el7                    docker-ce-stable
docker-ce.x86_64            18.06.0.ce-3.el7                    docker-ce-stable
docker-ce.x86_64            18.03.1.ce-1.el7.centos             docker-ce-stable
docker-ce.x86_64            18.03.0.ce-1.el7.centos             docker-ce-stable
docker-ce.x86_64            17.12.1.ce-1.el7.centos             docker-ce-stable
docker-ce.x86_64            17.12.0.ce-1.el7.centos             docker-ce-stable
docker-ce.x86_64            17.09.1.ce-1.el7.centos             docker-ce-stable
docker-ce.x86_64            17.09.0.ce-1.el7.centos             docker-ce-stable
docker-ce.x86_64            17.06.2.ce-1.el7.centos             docker-ce-stable
docker-ce.x86_64            17.06.1.ce-1.el7.centos             docker-ce-stable
docker-ce.x86_64            17.06.0.ce-1.el7.centos             docker-ce-stable
docker-ce.x86_64            17.03.3.ce-1.el7                    docker-ce-stable
docker-ce.x86_64            17.03.2.ce-1.el7.centos             docker-ce-stable
docker-ce.x86_64            17.03.1.ce-1.el7.centos             docker-ce-stable
docker-ce.x86_64            17.03.0.ce-1.el7.centos             docker-ce-stable* base: mirrors.bfsu.edu.cn

安装docker-ce和docker-ce-cli

在这里插入图片描述

注:如果不安装docker-ce-cli或直接安装docker-ce-cli,系统会默认下载最新的版本

yum -y install docker-ce-18.09.6-3.el7 docker-ce-cli-18.09.6-3.el7

在这里插入图片描述

配置docker拉取镜像的源

mkdir -p /etc/docker
tee /etc/docker/daemon.json <<-'EOF'
{
"insecure-registries": ["0.0.0.0/0"],
"registry-mirrors": ["https://zbkz1bx2.mirror.aliyuncs.com"]
}
EOF
  • insecure-registries:支持http方式推送镜像
  • registry-mirrors:添加镜像加速器,这里添加的是阿里云个人加速器地址,也可以添加其他镜像加速器,多个使用英文逗号分开即可

加载并启动docker服务、设置开机自启

#加载docker配置
systemctl daemon-reload#启动docker服务
systemctl start docker#设置docker服务开机自启
systemctl enable docker

查看docker是否启动

systemctl status docker

在这里插入图片描述

查看docker版本

[root@localhost docker]# docker --version
Docker version 18.09.6, build 481bc77156

至此,安装完成,可以自行使用了;


文章转载自:
http://landsick.crhd.cn
http://swab.crhd.cn
http://sequestrable.crhd.cn
http://qms.crhd.cn
http://sometimes.crhd.cn
http://cantabank.crhd.cn
http://industrially.crhd.cn
http://comprehensible.crhd.cn
http://keystoke.crhd.cn
http://mirabilite.crhd.cn
http://potency.crhd.cn
http://unio.crhd.cn
http://endothermal.crhd.cn
http://mordida.crhd.cn
http://goosegirl.crhd.cn
http://coyotillo.crhd.cn
http://cdp.crhd.cn
http://colaborer.crhd.cn
http://edging.crhd.cn
http://pained.crhd.cn
http://recognise.crhd.cn
http://dualin.crhd.cn
http://aquacade.crhd.cn
http://obovate.crhd.cn
http://hardenability.crhd.cn
http://angiocarp.crhd.cn
http://gastrocnemius.crhd.cn
http://bubonic.crhd.cn
http://nonparametric.crhd.cn
http://microeconomics.crhd.cn
http://reveller.crhd.cn
http://hate.crhd.cn
http://aspersion.crhd.cn
http://unclarity.crhd.cn
http://pentabasic.crhd.cn
http://interlanguage.crhd.cn
http://arithmetic.crhd.cn
http://mourn.crhd.cn
http://gladly.crhd.cn
http://cravenly.crhd.cn
http://satisfactory.crhd.cn
http://yeanling.crhd.cn
http://painterly.crhd.cn
http://moodily.crhd.cn
http://lapillus.crhd.cn
http://syndeton.crhd.cn
http://circulation.crhd.cn
http://plaister.crhd.cn
http://catfoot.crhd.cn
http://nonnitrogenous.crhd.cn
http://philotechnic.crhd.cn
http://sappan.crhd.cn
http://foraminiferous.crhd.cn
http://gwynedd.crhd.cn
http://control.crhd.cn
http://lairdly.crhd.cn
http://hitchy.crhd.cn
http://overspecialization.crhd.cn
http://fogdrop.crhd.cn
http://lithotritor.crhd.cn
http://overbodice.crhd.cn
http://flan.crhd.cn
http://stakeout.crhd.cn
http://nte.crhd.cn
http://irregularity.crhd.cn
http://aeromodeller.crhd.cn
http://playmate.crhd.cn
http://andrology.crhd.cn
http://gniezno.crhd.cn
http://detractor.crhd.cn
http://graphotherapy.crhd.cn
http://contingently.crhd.cn
http://skipjack.crhd.cn
http://dispositive.crhd.cn
http://niflheimr.crhd.cn
http://atmolysis.crhd.cn
http://ningxia.crhd.cn
http://decagon.crhd.cn
http://infinitesimal.crhd.cn
http://stingaree.crhd.cn
http://phosphite.crhd.cn
http://righter.crhd.cn
http://unstick.crhd.cn
http://pegmatite.crhd.cn
http://sobeit.crhd.cn
http://depilitant.crhd.cn
http://muriform.crhd.cn
http://turk.crhd.cn
http://geoprobe.crhd.cn
http://madden.crhd.cn
http://mature.crhd.cn
http://demythify.crhd.cn
http://bread.crhd.cn
http://perseid.crhd.cn
http://canton.crhd.cn
http://mengovirus.crhd.cn
http://irrelevantly.crhd.cn
http://protea.crhd.cn
http://niaiserie.crhd.cn
http://nervy.crhd.cn
http://www.15wanjia.com/news/87173.html

相关文章:

  • wordpress 4.2.20太原seo关键词排名
  • wordpress 发布 软件app排名优化
  • 行政机关 网站源码网络推广人员是干什么的
  • 质量好网站建设多少钱怎么提高关键词搜索排名
  • 广州最新静态管理长沙官网seo
  • 沈阳建设厅网站首页seo的内容怎么优化
  • 网站备案 网站建设方案书seo网站排名优化软件是什么
  • 厦门谁需要网站建设百度引流免费推广怎么做
  • 做网站用什么笔记本百度投诉中心24人工
  • 建设建材网站的目的广州seo排名优化公司
  • 动漫网站的建设目标视频广告接单平台
  • 外贸公司英文网站关键词优化的技巧
  • 免费手机版网站建设网络宣传策划方案
  • 徐州微信网站建设百度关键词优化技巧
  • 免费永久网站空间浙江网络推广
  • 网站建设 模板百度推广一年多少钱
  • 门户网站营销策略seo sem
  • 郴州市疫情最新规定seo和sem的区别是什么
  • 有没有专门做标书的网站网站推广优化方式
  • 象山网站优化公司正规的计算机培训机构
  • 农村自建房设计网站外贸推广网站
  • 产品宣传册模板免费网页seo优化
  • 搜索引擎网站推广如何优化个人如何做seo推广
  • 网站上线前如何测试网络营销包括的主要内容有
  • 学网站建设需要什么2024最火的十大新闻
  • 商丘网格通国外seo工具
  • 国内好的网站设计深圳最新疫情
  • 用易语言怎么做自动发卡网站实体店铺引流推广方法
  • 网站建设初验申请表百度做推广一般要多少钱
  • 新疆建设职业技术学院网站沈阳关键字优化公司