Docker系列文章目录
提示:这里可以添加系列文章的所有文章的目录,目录需要自己手动添加
例如:第一章 Python 机器学习入门之pandas的使用
提示:写完文章后,目录可以自动生成,如何生成可参考右边的帮助文档
前言
提示:这里可以添加本文要记录的大概内容:
例如:随着人工智能的不断发展,机器学习这门技术也越来越重要,很多人都开启了学习机器学习,本文就介绍了机器学习的基础内容。
提示:以下是本篇文章正文内容,下面案例可供参考
一、安装zCloud报错
二、Docker升级步骤
1.查看docker当前版本
代码如下(示例):
[root@docker01 ~]# docker --version
Docker version 24.0.7, build afdd53b
[root@docker01 ~]# yum list installed | grep docker
Modular dependency problems:
Problem 1: conflicting requests
- nothing provides module(perl:5.26) needed by module perl-DBD-MySQL:4.046:8010020190322121447:073fa5fe.x86_64
Problem 2: conflicting requests
- nothing provides module(perl:5.26) needed by module perl-DBD-SQLite:1.58:8010020190322125518:073fa5fe.x86_64
Problem 3: conflicting requests
- nothing provides module(perl:5.26) needed by module perl-DBI:1.641:8010020190322130042:16b3ab4d.x86_64
containerd.io.x86_64 1.6.27-3.1.el8 @docker-ce-stable
docker-buildx-plugin.x86_64 0.11.2-1.el8 @docker-ce-stable
docker-ce.x86_64 3:24.0.7-1.el8 @docker-ce-stable
docker-ce-cli.x86_64 1:24.0.7-1.el8 @docker-ce-stable
docker-compose-plugin.x86_64 2.21.0-1.el8 @docker-ce-stable
pcp-pmda-docker.x86_64 4.3.2-2.el8 @AppStream
2.增加docker源
代码如下(示例):
[root@docker01 ~]# yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Adding repo from: https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
3.读入数据
代码如下(示例):
[root@docker01 ~]# yum list docker-ce --showduplicates|sort -r
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 0:00:01 ago on Sat 31 Aug 2024 08:22:02 PM CST.
Installed Packages
docker-ce.x86_64 3:26.1.3-1.el8 docker-ce-stable
docker-ce.x86_64 3:26.1.2-1.el8 docker-ce-stable
docker-ce.x86_64 3:26.1.1-1.el8 docker-ce-stable
docker-ce.x86_64 3:26.1.0-1.el8 docker-ce-stable
docker-ce.x86_64 3:26.0.2-1.el8 docker-ce-stable
docker-ce.x86_64 3:26.0.1-1.el8 docker-ce-stable
docker-ce.x86_64 3:26.0.0-1.el8 docker-ce-stable
docker-ce.x86_64 3:25.0.5-1.el8 docker-ce-stable
docker-ce.x86_64 3:25.0.4-1.el8 docker-ce-stable
docker-ce.x86_64 3:25.0.3-1.el8 docker-ce-stable
docker-ce.x86_64 3:25.0.2-1.el8 docker-ce-stable
docker-ce.x86_64 3:25.0.1-1.el8 docker-ce-stable
docker-ce.x86_64 3:25.0.0-1.el8 docker-ce-stable
docker-ce.x86_64 3:24.0.9-1.el8 docker-ce-stable
docker-ce.x86_64 3:24.0.8-1.el8 docker-ce-stable
docker-ce.x86_64 3:24.0.7-1.el8 docker-ce-stable
docker-ce.x86_64 3:24.0.7-1.el8 @docker-ce-stable
docker-ce.x86_64 3:24.0.6-1.el8 docker-ce-stable
docker-ce.x86_64 3:24.0.5-1.el8 docker-ce-stable
docker-ce.x86_64 3:24.0.4-1.el8 docker-ce-stable
docker-ce.x86_64 3:24.0.3-1.el8 docker-ce-stable
docker-ce.x86_64 3:24.0.2-1.el8 docker-ce-stable
docker-ce.x86_64 3:24.0.1-1.el8 docker-ce-stable
docker-ce.x86_64 3:24.0.0-1.el8 docker-ce-stable
docker-ce.x86_64 3:23.0.6-1.el8 docker-ce-stable
docker-ce.x86_64 3:23.0.5-1.el8 docker-ce-stable
docker-ce.x86_64 3:23.0.4-1.el8 docker-ce-stable
docker-ce.x86_64 3:23.0.3-1.el8 docker-ce-stable
docker-ce.x86_64 3:23.0.2-1.el8 docker-ce-stable
docker-ce.x86_64 3:23.0.1-1.el8 docker-ce-stable
docker-ce.x86_64 3:23.0.0-1.el8 docker-ce-stable
docker-ce.x86_64 3:20.10.9-3.el8 docker-ce-stable
docker-ce.x86_64 3:20.10.8-3.el8 docker-ce-stable
docker-ce.x86_64 3:20.10.7-3.el8 docker-ce-stable
docker-ce.x86_64 3:20.10.6-3.el8 docker-ce-stable
docker-ce.x86_64 3:20.10.5-3.el8 docker-ce-stable
docker-ce.x86_64 3:20.10.4-3.el8 docker-ce-stable
docker-ce.x86_64 3:20.10.3-3.el8 docker-ce-stable
docker-ce.x86_64 3:20.10.24-3.el8 docker-ce-stable
docker-ce.x86_64 3:20.10.2-3.el8 docker-ce-stable
docker-ce.x86_64 3:20.10.23-3.el8 docker-ce-stable
docker-ce.x86_64 3:20.10.22-3.el8 docker-ce-stable
docker-ce.x86_64 3:20.10.21-3.el8 docker-ce-stable
docker-ce.x86_64 3:20.10.20-3.el8 docker-ce-stable
docker-ce.x86_64 3:20.10.19-3.el8 docker-ce-stable
docker-ce.x86_64 3:20.10.18-3.el8 docker-ce-stable
docker-ce.x86_64 3:20.10.17-3.el8 docker-ce-stable
docker-ce.x86_64 3:20.10.16-3.el8 docker-ce-stable
docker-ce.x86_64 3:20.10.15-3.el8 docker-ce-stable
docker-ce.x86_64 3:20.10.14-3.el8 docker-ce-stable
docker-ce.x86_64 3:20.10.1-3.el8 docker-ce-stable
docker-ce.x86_64 3:20.10.13-3.el8 docker-ce-stable
docker-ce.x86_64 3:20.10.12-3.el8 docker-ce-stable
docker-ce.x86_64 3:20.10.11-3.el8 docker-ce-stable
docker-ce.x86_64 3:20.10.10-3.el8 docker-ce-stable
docker-ce.x86_64 3:20.10.0-3.el8 docker-ce-stable
docker-ce.x86_64 3:19.03.15-3.el8 docker-ce-stable
docker-ce.x86_64 3:19.03.14-3.el8 docker-ce-stable
docker-ce.x86_64 3:19.03.13-3.el8 docker-ce-stable
Docker CE Stable - x86_64 108 kB/s | 66 kB 00:00
Available Packages
4.安装新版本
代码如下(示例):
[root@docker01 ~]# yum -y install docker-ce-3:26.1.3-1.el8
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Last metadata expiration check: 0:00:30 ago on Sat 31 Aug 2024 08:22:02 PM CST.
Dependencies resolved.
=========================================================================================================================================================================================
Package Architecture Version Repository Size
=========================================================================================================================================================================================
Upgrading:
docker-ce x86_64 3:26.1.3-1.el8 docker-ce-stable 27 M
Transaction Summary
=========================================================================================================================================================================================
Upgrade 1 Package
Total download size: 27 M
Downloading Packages:
docker-ce-26.1.3-1.el8.x86_64.rpm 131 kB/s | 27 MB 03:32
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 131 kB/s | 27 MB 03:32
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: docker-ce-3:26.1.3-1.el8.x86_64 1/1
Upgrading : docker-ce-3:26.1.3-1.el8.x86_64 1/2
Running scriptlet: docker-ce-3:26.1.3-1.el8.x86_64 1/2
Running scriptlet: docker-ce-3:24.0.7-1.el8.x86_64 2/2
Cleanup : docker-ce-3:24.0.7-1.el8.x86_64 2/2
Running scriptlet: docker-ce-3:24.0.7-1.el8.x86_64 2/2
Verifying : docker-ce-3:26.1.3-1.el8.x86_64 1/2
Verifying : docker-ce-3:24.0.7-1.el8.x86_64 2/2
Installed products updated.
Upgraded:
docker-ce-3:26.1.3-1.el8.x86_64
Complete!