官网下载地址(For RHEL/CentOS 7.9):
https://download.docker.com/linux/centos/7/x86_64/stable/Packages/
本次官方发布的rpm包只有 4 个,下载链接如下:
# docker-buildx-plugin-0.10.5
https://download.docker.com/linux/centos/7/x86_64/stable/Packages/docker-buildx-plugin-0.10.5-1.el7.x86_64.rpm
# docker-ce-24.0.2
https://download.docker.com/linux/centos/7/x86_64/stable/Packages/docker-ce-24.0.2-1.el7.x86_64.rpm
# docker-ce-cli-24.0.2
https://download.docker.com/linux/centos/7/x86_64/stable/Packages/docker-ce-cli-24.0.2-1.el7.x86_64.rpm
# docker-ce-rootless-extras-24.0.2
https://download.docker.com/linux/centos/7/x86_64/stable/Packages/docker-ce-rootless-extras-24.0.2-1.el7.x86_64.rpm
完整的离线安装包(包含依赖包)清单如下:
# ls -ltr
总用量 112780
-rw-r--r-- 1 root root 32880 7月 4 2014 python-IPy-0.75-6.el7.noarch.rpm
-rw-r--r-- 1 root root 302068 11月 12 2018 checkpolicy-2.5-8.el7.x86_64.rpm
-rw-r--r-- 1 root root 115284 11月 12 2018 libsemanage-python-2.5-14.el7.x86_64.rpm
-rw-r--r-- 1 root root 635184 11月 12 2018 setools-libs-3.3.8-4.el7.x86_64.rpm
-rw-r--r-- 1 root root 78256 8月 23 2019 audit-libs-python-2.8.5-4.el7.x86_64.rpm
-rw-r--r-- 1 root root 67720 8月 23 2019 libcgroup-0.41-21.el7.x86_64.rpm
-rw-r--r-- 1 root root 468316 4月 4 2020 policycoreutils-python-2.5-34.el7.x86_64.rpm
-rw-r--r-- 1 root root 55796 4月 29 2020 fuse-overlayfs-0.7.2-6.el7_8.x86_64.rpm
-rw-r--r-- 1 root root 83764 4月 29 2020 fuse3-libs-3.6.1-4.el7.x86_64.rpm
-rw-r--r-- 1 root root 83452 4月 29 2020 slirp4netns-0.4.3-4.el7_8.x86_64.rpm
-rw-r--r-- 1 root root 40816 7月 6 2020 container-selinux-2.119.2-1.911c772.el7_8.noarch.rpm
-rw-r--r-- 1 root root 12305416 5月 21 20:08 docker-compose-plugin-2.18.1-1.el7.x86_64.rpm
-rw-r--r-- 1 root root 12781360 5月 29 07:44 docker-buildx-plugin-0.10.5-1.el7.x86_64.rpm
-rw-r--r-- 1 root root 14032028 5月 29 07:44 docker-ce-cli-24.0.2-1.el7.x86_64.rpm
-rw-r--r-- 1 root root 9518692 5月 29 07:44 docker-ce-rootless-extras-24.0.2-1.el7.x86_64.rpm
-rw-r--r-- 1 root root 25540708 5月 29 07:44 docker-ce-24.0.2-1.el7.x86_64.rpm
-rw-r--r-- 1 root root 35297172 5月 29 07:57 containerd.io-1.6.21-3.1.el7.x86_64.rpm
-rw-r--r-- 1 root root 4006940 5月 29 07:57 docker-scan-plugin-0.23.0-3.el7.x86_64.rpm
升级安装记录:文章来源:https://www.toymoban.com/news/detail-543748.html
# yum install -y *.rpm
已加载插件:fastestmirror, langpacks
正在检查 audit-libs-python-2.8.5-4.el7.x86_64.rpm: audit-libs-python-2.8.5-4.el7.x86_64
audit-libs-python-2.8.5-4.el7.x86_64.rpm:不更新已安装的软件包。
正在检查 checkpolicy-2.5-8.el7.x86_64.rpm: checkpolicy-2.5-8.el7.x86_64
checkpolicy-2.5-8.el7.x86_64.rpm:不更新已安装的软件包。
正在检查 containerd.io-1.6.21-3.1.el7.x86_64.rpm: containerd.io-1.6.21-3.1.el7.x86_64
containerd.io-1.6.21-3.1.el7.x86_64.rpm:不更新已安装的软件包。
正在检查 container-selinux-2.119.2-1.911c772.el7_8.noarch.rpm: 2:container-selinux-2.119.2-1.911c772.el7_8.noarch
container-selinux-2.119.2-1.911c772.el7_8.noarch.rpm:不更新已安装的软件包。
正在检查 docker-buildx-plugin-0.10.5-1.el7.x86_64.rpm: docker-buildx-plugin-0.10.5-1.el7.x86_64
docker-buildx-plugin-0.10.5-1.el7.x86_64.rpm 将作为 docker-buildx-plugin-0.10.4-1.el7.x86_64 的更新
正在检查 docker-ce-24.0.2-1.el7.x86_64.rpm: 3:docker-ce-24.0.2-1.el7.x86_64
docker-ce-24.0.2-1.el7.x86_64.rpm 将作为 3:docker-ce-24.0.1-1.el7.x86_64 的更新
正在检查 docker-ce-cli-24.0.2-1.el7.x86_64.rpm: 1:docker-ce-cli-24.0.2-1.el7.x86_64
docker-ce-cli-24.0.2-1.el7.x86_64.rpm 将作为 1:docker-ce-cli-24.0.1-1.el7.x86_64 的更新
正在检查 docker-ce-rootless-extras-24.0.2-1.el7.x86_64.rpm: docker-ce-rootless-extras-24.0.2-1.el7.x86_64
docker-ce-rootless-extras-24.0.2-1.el7.x86_64.rpm 将作为 docker-ce-rootless-extras-24.0.1-1.el7.x86_64 的更新
正在检查 docker-compose-plugin-2.18.1-1.el7.x86_64.rpm: docker-compose-plugin-2.18.1-1.el7.x86_64
docker-compose-plugin-2.18.1-1.el7.x86_64.rpm:不更新已安装的软件包。
正在检查 docker-scan-plugin-0.23.0-3.el7.x86_64.rpm: docker-scan-plugin-0.23.0-3.el7.x86_64
docker-scan-plugin-0.23.0-3.el7.x86_64.rpm:不更新已安装的软件包。
正在检查 fuse3-libs-3.6.1-4.el7.x86_64.rpm: fuse3-libs-3.6.1-4.el7.x86_64
fuse3-libs-3.6.1-4.el7.x86_64.rpm:不更新已安装的软件包。
正在检查 fuse-overlayfs-0.7.2-6.el7_8.x86_64.rpm: fuse-overlayfs-0.7.2-6.el7_8.x86_64
fuse-overlayfs-0.7.2-6.el7_8.x86_64.rpm:不更新已安装的软件包。
正在检查 libcgroup-0.41-21.el7.x86_64.rpm: libcgroup-0.41-21.el7.x86_64
libcgroup-0.41-21.el7.x86_64.rpm:不更新已安装的软件包。
正在检查 libsemanage-python-2.5-14.el7.x86_64.rpm: libsemanage-python-2.5-14.el7.x86_64
libsemanage-python-2.5-14.el7.x86_64.rpm:不更新已安装的软件包。
正在检查 policycoreutils-python-2.5-34.el7.x86_64.rpm: policycoreutils-python-2.5-34.el7.x86_64
policycoreutils-python-2.5-34.el7.x86_64.rpm:不更新已安装的软件包。
正在检查 python-IPy-0.75-6.el7.noarch.rpm: python-IPy-0.75-6.el7.noarch
python-IPy-0.75-6.el7.noarch.rpm:不更新已安装的软件包。
正在检查 setools-libs-3.3.8-4.el7.x86_64.rpm: setools-libs-3.3.8-4.el7.x86_64
setools-libs-3.3.8-4.el7.x86_64.rpm:不更新已安装的软件包。
正在检查 slirp4netns-0.4.3-4.el7_8.x86_64.rpm: slirp4netns-0.4.3-4.el7_8.x86_64
slirp4netns-0.4.3-4.el7_8.x86_64.rpm:不更新已安装的软件包。
正在解决依赖关系
--> 正在检查事务
---> 软件包 docker-buildx-plugin.x86_64.0.0.10.4-1.el7 将被 升级
---> 软件包 docker-buildx-plugin.x86_64.0.0.10.5-1.el7 将被 更新
---> 软件包 docker-ce.x86_64.3.24.0.1-1.el7 将被 升级
---> 软件包 docker-ce.x86_64.3.24.0.2-1.el7 将被 更新
---> 软件包 docker-ce-cli.x86_64.1.24.0.1-1.el7 将被 升级
---> 软件包 docker-ce-cli.x86_64.1.24.0.2-1.el7 将被 更新
---> 软件包 docker-ce-rootless-extras.x86_64.0.24.0.1-1.el7 将被 升级
---> 软件包 docker-ce-rootless-extras.x86_64.0.24.0.2-1.el7 将被 更新
--> 解决依赖关系完成
base/7/x86_64 | 3.6 kB 00:00:00
extras/7/x86_64 | 2.9 kB 00:00:00
updates/7/x86_64 | 2.9 kB 00:00:00
依赖关系解决
===============================================================================================================================================================================================================
Package 架构 版本 源 大小
===============================================================================================================================================================================================================
正在更新:
docker-buildx-plugin x86_64 0.10.5-1.el7 /docker-buildx-plugin-0.10.5-1.el7.x86_64 54 M
docker-ce x86_64 3:24.0.2-1.el7 /docker-ce-24.0.2-1.el7.x86_64 98 M
docker-ce-cli x86_64 1:24.0.2-1.el7 /docker-ce-cli-24.0.2-1.el7.x86_64 35 M
docker-ce-rootless-extras x86_64 24.0.2-1.el7 /docker-ce-rootless-extras-24.0.2-1.el7.x86_64 19 M
事务概要
===============================================================================================================================================================================================================
升级 4 软件包
总计:206 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在更新 : docker-buildx-plugin-0.10.5-1.el7.x86_64 1/8
正在更新 : 1:docker-ce-cli-24.0.2-1.el7.x86_64 2/8
正在更新 : docker-ce-rootless-extras-24.0.2-1.el7.x86_64 3/8
正在更新 : 3:docker-ce-24.0.2-1.el7.x86_64 4/8
清理 : docker-ce-rootless-extras-24.0.1-1.el7.x86_64 5/8
清理 : 3:docker-ce-24.0.1-1.el7.x86_64 6/8
清理 : 1:docker-ce-cli-24.0.1-1.el7.x86_64 7/8
清理 : docker-buildx-plugin-0.10.4-1.el7.x86_64 8/8
验证中 : 3:docker-ce-24.0.2-1.el7.x86_64 1/8
验证中 : 1:docker-ce-cli-24.0.2-1.el7.x86_64 2/8
验证中 : docker-ce-rootless-extras-24.0.2-1.el7.x86_64 3/8
验证中 : docker-buildx-plugin-0.10.5-1.el7.x86_64 4/8
验证中 : 3:docker-ce-24.0.1-1.el7.x86_64 5/8
验证中 : docker-ce-rootless-extras-24.0.1-1.el7.x86_64 6/8
验证中 : docker-buildx-plugin-0.10.4-1.el7.x86_64 7/8
验证中 : 1:docker-ce-cli-24.0.1-1.el7.x86_64 8/8
更新完毕:
docker-buildx-plugin.x86_64 0:0.10.5-1.el7 docker-ce.x86_64 3:24.0.2-1.el7 docker-ce-cli.x86_64 1:24.0.2-1.el7 docker-ce-rootless-extras.x86_64 0:24.0.2-1.el7
完毕!
启动服务、检查版本信息:文章来源地址https://www.toymoban.com/news/detail-543748.html
# systemctl start docker.socket docker.service containerd.service
# docker version
Client: Docker Engine - Community
Version: 24.0.2
API version: 1.43
Go version: go1.20.4
Git commit: cb74dfc
Built: Thu May 25 21:55:21 2023
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 24.0.2
API version: 1.43 (minimum version 1.12)
Go version: go1.20.4
Git commit: 659604f
Built: Thu May 25 21:54:24 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.21
GitCommit: 3dce8eb055cbb6872793272b4f20ed16117344f8
runc:
Version: 1.1.7
GitCommit: v1.1.7-0-g860f061
docker-init:
Version: 0.19.0
GitCommit: de40ad0
# docker info
Client: Docker Engine - Community
Version: 24.0.2
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.10.5
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.18.1
Path: /usr/libexec/docker/cli-plugins/docker-compose
scan: Docker Scan (Docker Inc.)
Version: v0.23.0
Path: /usr/libexec/docker/cli-plugins/docker-scan
Server:
Containers: 2
Running: 2
Paused: 0
Stopped: 0
Images: 2
Server Version: 24.0.2
Storage Driver: overlay2
Backing Filesystem: xfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 3dce8eb055cbb6872793272b4f20ed16117344f8
runc version: v1.1.7-0-g860f061
init version: de40ad0
Security Options:
seccomp
Profile: builtin
Kernel Version: 3.10.0-1160.90.1.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 5.808GiB
Name: www.cnskylee.com
ID: 2b294321-50a2-4418-bf52-5cca14285865
Docker Root Dir: /var/lib/docker
Debug Mode: false
Experimental: false
Insecure Registries:
127.0.0.0/8
Registry Mirrors:
https://b9pmyelo.mirror.aliyuncs.com/
Live Restore Enabled: false
到了这里,关于【DockerCE】Docker-CE 24.0.2正式版发布的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!