您现在的位置是:首页 > 短信大全

【Docker】Docker官方发布26.0.0社区版

作者:言安琪时间:2024-04-24 13:07:01分类:短信大全

简介  文章浏览阅读813次。本文介绍了,如何通过docker官方发布的rpm包来制作一个docker社区版的离线安装包,以及如何安装、启动和查看docker社区版。_docker 26

点击全文阅读

官网下载地址(For RHEL/CentOS 7.5+):
https://download.docker.com/linux/centos/7/x86_64/stable/Packages/

本次官方更新的rpm包有 7 个,文件名如下:

# ls -ltr总用量 118588-rw-r--r--. 1 root root 28398448 3月  22 07:23 docker-ce-26.0.0-1.el7.x86_64.rpm-rw-r--r--. 1 root root 36753724 3月  22 07:24 containerd.io-1.6.28-3.2.el7.x86_64.rpm-rw-r--r--. 1 root root 14189516 3月  22 07:24 docker-buildx-plugin-0.13.1-1.el7.x86_64.rpm-rw-r--r--. 1 root root 14570128 3月  22 07:25 docker-ce-cli-26.0.0-1.el7.x86_64.rpm-rw-r--r--. 1 root root  9840000 3月  22 07:25 docker-ce-rootless-extras-26.0.0-1.el7.x86_64.rpm-rw-r--r--. 1 root root 13652224 3月  22 07:25 docker-compose-plugin-2.25.0-1.el7.x86_64.rpm-rw-r--r--. 1 root root  4006940 3月  22 07:25 docker-scan-plugin-0.23.0-3.el7.x86_64.rpm

我们可以将下载的 rpm 包上传到本地可以连接公网的Linux虚拟机上(如:CentOS 7.9),然后通过下面的命令来获取安装docker-ce所需的依赖包。

[root@vm-3rd89n7dd docker-ce-26.0.0]# yum install -y --downloaddir=./ --downloadonly ./*.rpm已加载插件:fastestmirror, langpacks正在检查 ./containerd.io-1.6.28-3.2.el7.x86_64.rpm: containerd.io-1.6.28-3.2.el7.x86_64./containerd.io-1.6.28-3.2.el7.x86_64.rpm 将被安装正在检查 ./docker-buildx-plugin-0.13.1-1.el7.x86_64.rpm: docker-buildx-plugin-0.13.1-1.el7.x86_64./docker-buildx-plugin-0.13.1-1.el7.x86_64.rpm 将被安装正在检查 ./docker-ce-26.0.0-1.el7.x86_64.rpm: 3:docker-ce-26.0.0-1.el7.x86_64./docker-ce-26.0.0-1.el7.x86_64.rpm 将被安装正在检查 ./docker-ce-cli-26.0.0-1.el7.x86_64.rpm: 1:docker-ce-cli-26.0.0-1.el7.x86_64./docker-ce-cli-26.0.0-1.el7.x86_64.rpm 将被安装正在检查 ./docker-ce-rootless-extras-26.0.0-1.el7.x86_64.rpm: docker-ce-rootless-extras-26.0.0-1.el7.x86_64./docker-ce-rootless-extras-26.0.0-1.el7.x86_64.rpm 将被安装正在检查 ./docker-compose-plugin-2.25.0-1.el7.x86_64.rpm: docker-compose-plugin-2.25.0-1.el7.x86_64./docker-compose-plugin-2.25.0-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 将被安装正在解决依赖关系--> 正在检查事务---> 软件包 containerd.io.x86_64.0.1.6.28-3.2.el7 将被 安装--> 正在处理依赖关系 container-selinux >= 2:2.74,它被软件包 containerd.io-1.6.28-3.2.el7.x86_64 需要Loading mirror speeds from cached hostfile * base: ftp.sjtu.edu.cn * extras: ftp.sjtu.edu.cn * updates: mirror.lzu.edu.cnbase                                                                                                                                                                                    | 3.6 kB  00:00:00     extras                                                                                                                                                                                  | 2.9 kB  00:00:00     updates                                                                                                                                                                                 | 2.9 kB  00:00:00     (1/2): extras/7/x86_64/primary_db                                                                                                                                                       | 250 kB  00:00:00     (2/2): updates/7/x86_64/primary_db                                                                                                                                                      |  26 MB  00:00:03     ---> 软件包 docker-buildx-plugin.x86_64.0.0.13.1-1.el7 将被 安装---> 软件包 docker-ce.x86_64.3.26.0.0-1.el7 将被 安装---> 软件包 docker-ce-cli.x86_64.1.26.0.0-1.el7 将被 安装---> 软件包 docker-ce-rootless-extras.x86_64.0.26.0.0-1.el7 将被 安装--> 正在处理依赖关系 fuse-overlayfs >= 0.7,它被软件包 docker-ce-rootless-extras-26.0.0-1.el7.x86_64 需要--> 正在处理依赖关系 slirp4netns >= 0.4,它被软件包 docker-ce-rootless-extras-26.0.0-1.el7.x86_64 需要---> 软件包 docker-compose-plugin.x86_64.0.2.25.0-1.el7 将被 安装---> 软件包 docker-scan-plugin.x86_64.0.0.23.0-3.el7 将被 安装--> 正在检查事务---> 软件包 container-selinux.noarch.2.2.119.2-1.911c772.el7_8 将被 安装---> 软件包 fuse-overlayfs.x86_64.0.0.7.2-6.el7_8 将被 安装--> 正在处理依赖关系 libfuse3.so.3(FUSE_3.2)(64bit),它被软件包 fuse-overlayfs-0.7.2-6.el7_8.x86_64 需要--> 正在处理依赖关系 libfuse3.so.3(FUSE_3.0)(64bit),它被软件包 fuse-overlayfs-0.7.2-6.el7_8.x86_64 需要--> 正在处理依赖关系 libfuse3.so.3()(64bit),它被软件包 fuse-overlayfs-0.7.2-6.el7_8.x86_64 需要---> 软件包 slirp4netns.x86_64.0.0.4.3-4.el7_8 将被 安装--> 正在检查事务---> 软件包 fuse3-libs.x86_64.0.3.6.1-4.el7 将被 安装--> 解决依赖关系完成依赖关系解决=============================================================================================================================================================================================================== Package                                          架构                          版本                                               源                                                                     大小===============================================================================================================================================================================================================正在安装: containerd.io                                    x86_64                        1.6.28-3.2.el7                                     /containerd.io-1.6.28-3.2.el7.x86_64                                  116 M docker-buildx-plugin                             x86_64                        0.13.1-1.el7                                       /docker-buildx-plugin-0.13.1-1.el7.x86_64                              61 M docker-ce                                        x86_64                        3:26.0.0-1.el7                                     /docker-ce-26.0.0-1.el7.x86_64                                        104 M docker-ce-cli                                    x86_64                        1:26.0.0-1.el7                                     /docker-ce-cli-26.0.0-1.el7.x86_64                                     36 M docker-ce-rootless-extras                        x86_64                        26.0.0-1.el7                                       /docker-ce-rootless-extras-26.0.0-1.el7.x86_64                         20 M docker-compose-plugin                            x86_64                        2.25.0-1.el7                                       /docker-compose-plugin-2.25.0-1.el7.x86_64                             59 M docker-scan-plugin                               x86_64                        0.23.0-3.el7                                       /docker-scan-plugin-0.23.0-3.el7.x86_64                                12 M为依赖而安装: container-selinux                                noarch                        2:2.119.2-1.911c772.el7_8                          extras                                                                 40 k fuse-overlayfs                                   x86_64                        0.7.2-6.el7_8                                      extras                                                                 54 k fuse3-libs                                       x86_64                        3.6.1-4.el7                                        extras                                                                 82 k slirp4netns                                      x86_64                        0.4.3-4.el7_8                                      extras                                                                 81 k事务概要===============================================================================================================================================================================================================安装  7 软件包 (+4 依赖软件包)总计:407 M总下载量:258 k安装大小:408 MBackground downloading packages, then exiting:(1/4): fuse-overlayfs-0.7.2-6.el7_8.x86_64.rpm                                                                                                                                          |  54 kB  00:00:00     (2/4): container-selinux-2.119.2-1.911c772.el7_8.noarch.rpm                                                                                                                             |  40 kB  00:00:00     (3/4): fuse3-libs-3.6.1-4.el7.x86_64.rpm                                                                                                                                                |  82 kB  00:00:00     (4/4): slirp4netns-0.4.3-4.el7_8.x86_64.rpm                                                                                                                                             |  81 kB  00:00:00     ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------总计                                                                                                                                                                           1.1 MB/s | 258 kB  00:00:00     exiting because "Download Only" specified[root@vm-3rd89n7dd docker-ce-26.0.0]# ls -ltr总用量 118852-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 28398448 3月  22 07:23 docker-ce-26.0.0-1.el7.x86_64.rpm-rw-r--r--. 1 root root 36753724 3月  22 07:24 containerd.io-1.6.28-3.2.el7.x86_64.rpm-rw-r--r--. 1 root root 14189516 3月  22 07:24 docker-buildx-plugin-0.13.1-1.el7.x86_64.rpm-rw-r--r--. 1 root root 14570128 3月  22 07:25 docker-ce-cli-26.0.0-1.el7.x86_64.rpm-rw-r--r--. 1 root root  9840000 3月  22 07:25 docker-ce-rootless-extras-26.0.0-1.el7.x86_64.rpm-rw-r--r--. 1 root root 13652224 3月  22 07:25 docker-compose-plugin-2.25.0-1.el7.x86_64.rpm-rw-r--r--. 1 root root  4006940 3月  22 07:25 docker-scan-plugin-0.23.0-3.el7.x86_64.rpm

相关的依赖包总共有 4 个:fuse-overlayfs、fuse3-libs、slirp4netns、container-selinux

先制作一个离线安装包,命令如下:

[root@vm-3rd89n7dd docker-ce-26.0.0]# cd ..[root@vm-3rd89n7dd ~]# tar -czf docker-ce-26.0.0-centos-7.9-offline-installer.tar.gz docker-ce-26.0.0[root@vm-3rd89n7dd ~]# ls -ltr总用量 118784drwxr-xr-x. 2 root root      4096 3月  22 07:50 docker-ce-26.0.0-rw-r--r--. 1 root root 121628219 3月  22 08:02 docker-ce-26.0.0-centos-7.9-offline-installer.tar.gz[root@vm-3rd89n7dd ~]# du -sh *117M    docker-ce-26.0.0116M    docker-ce-26.0.0-centos-7.9-offline-installer.tar.gz

执行软件安装、服务启动、服务状态查询以及docker版本信息查看:

[root@vm-3rd89n7dd docker-ce-26.0.0]# yum install -y ./*.rpm已加载插件:fastestmirror, langpacks正在检查 ./containerd.io-1.6.28-3.2.el7.x86_64.rpm: containerd.io-1.6.28-3.2.el7.x86_64./containerd.io-1.6.28-3.2.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.13.1-1.el7.x86_64.rpm: docker-buildx-plugin-0.13.1-1.el7.x86_64./docker-buildx-plugin-0.13.1-1.el7.x86_64.rpm 将被安装正在检查 ./docker-ce-26.0.0-1.el7.x86_64.rpm: 3:docker-ce-26.0.0-1.el7.x86_64./docker-ce-26.0.0-1.el7.x86_64.rpm 将被安装正在检查 ./docker-ce-cli-26.0.0-1.el7.x86_64.rpm: 1:docker-ce-cli-26.0.0-1.el7.x86_64./docker-ce-cli-26.0.0-1.el7.x86_64.rpm 将被安装正在检查 ./docker-ce-rootless-extras-26.0.0-1.el7.x86_64.rpm: docker-ce-rootless-extras-26.0.0-1.el7.x86_64./docker-ce-rootless-extras-26.0.0-1.el7.x86_64.rpm 将被安装正在检查 ./docker-compose-plugin-2.25.0-1.el7.x86_64.rpm: docker-compose-plugin-2.25.0-1.el7.x86_64./docker-compose-plugin-2.25.0-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 将被安装正在检查 ./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 将被安装正在解决依赖关系--> 正在检查事务---> 软件包 container-selinux.noarch.2.2.119.2-1.911c772.el7_8 将被 安装---> 软件包 containerd.io.x86_64.0.1.6.28-3.2.el7 将被 安装---> 软件包 docker-buildx-plugin.x86_64.0.0.13.1-1.el7 将被 安装---> 软件包 docker-ce.x86_64.3.26.0.0-1.el7 将被 安装---> 软件包 docker-ce-cli.x86_64.1.26.0.0-1.el7 将被 安装---> 软件包 docker-ce-rootless-extras.x86_64.0.26.0.0-1.el7 将被 安装---> 软件包 docker-compose-plugin.x86_64.0.2.25.0-1.el7 将被 安装---> 软件包 docker-scan-plugin.x86_64.0.0.23.0-3.el7 将被 安装---> 软件包 fuse-overlayfs.x86_64.0.0.7.2-6.el7_8 将被 安装---> 软件包 fuse3-libs.x86_64.0.3.6.1-4.el7 将被 安装---> 软件包 slirp4netns.x86_64.0.0.4.3-4.el7_8 将被 安装--> 解决依赖关系完成依赖关系解决=============================================================================================================================================================================================================== Package                                         架构                         版本                                               源                                                                       大小===============================================================================================================================================================================================================正在安装: container-selinux                               noarch                       2:2.119.2-1.911c772.el7_8                          /container-selinux-2.119.2-1.911c772.el7_8.noarch                        41 k containerd.io                                   x86_64                       1.6.28-3.2.el7                                     /containerd.io-1.6.28-3.2.el7.x86_64                                    116 M docker-buildx-plugin                            x86_64                       0.13.1-1.el7                                       /docker-buildx-plugin-0.13.1-1.el7.x86_64                                61 M docker-ce                                       x86_64                       3:26.0.0-1.el7                                     /docker-ce-26.0.0-1.el7.x86_64                                          104 M docker-ce-cli                                   x86_64                       1:26.0.0-1.el7                                     /docker-ce-cli-26.0.0-1.el7.x86_64                                       36 M docker-ce-rootless-extras                       x86_64                       26.0.0-1.el7                                       /docker-ce-rootless-extras-26.0.0-1.el7.x86_64                           20 M docker-compose-plugin                           x86_64                       2.25.0-1.el7                                       /docker-compose-plugin-2.25.0-1.el7.x86_64                               59 M docker-scan-plugin                              x86_64                       0.23.0-3.el7                                       /docker-scan-plugin-0.23.0-3.el7.x86_64                                  12 M fuse-overlayfs                                  x86_64                       0.7.2-6.el7_8                                      /fuse-overlayfs-0.7.2-6.el7_8.x86_64                                    116 k fuse3-libs                                      x86_64                       3.6.1-4.el7                                        /fuse3-libs-3.6.1-4.el7.x86_64                                          270 k slirp4netns                                     x86_64                       0.4.3-4.el7_8                                      /slirp4netns-0.4.3-4.el7_8.x86_64                                       169 k事务概要===============================================================================================================================================================================================================安装  11 软件包总计:408 M安装大小:408 MDownloading packages:Running transaction checkRunning transaction testTransaction test succeededRunning transaction  正在安装    : 2:container-selinux-2.119.2-1.911c772.el7_8.noarch                                                                                                                                        1/11   正在安装    : containerd.io-1.6.28-3.2.el7.x86_64                                                                                                                                                       2/11   正在安装    : docker-compose-plugin-2.25.0-1.el7.x86_64                                                                                                                                                 3/11   正在安装    : docker-buildx-plugin-0.13.1-1.el7.x86_64                                                                                                                                                  4/11   正在安装    : 1:docker-ce-cli-26.0.0-1.el7.x86_64                                                                                                                                                       5/11   正在安装    : slirp4netns-0.4.3-4.el7_8.x86_64                                                                                                                                                          6/11   正在安装    : fuse3-libs-3.6.1-4.el7.x86_64                                                                                                                                                             7/11   正在安装    : fuse-overlayfs-0.7.2-6.el7_8.x86_64                                                                                                                                                       8/11   正在安装    : docker-ce-rootless-extras-26.0.0-1.el7.x86_64                                                                                                                                             9/11   正在安装    : 3:docker-ce-26.0.0-1.el7.x86_64                                                                                                                                                          10/11   正在安装    : docker-scan-plugin-0.23.0-3.el7.x86_64                                                                                                                                                   11/11   验证中      : 3:docker-ce-26.0.0-1.el7.x86_64                                                                                                                                                           1/11   验证中      : docker-scan-plugin-0.23.0-3.el7.x86_64                                                                                                                                                    2/11   验证中      : fuse3-libs-3.6.1-4.el7.x86_64                                                                                                                                                             3/11   验证中      : fuse-overlayfs-0.7.2-6.el7_8.x86_64                                                                                                                                                       4/11   验证中      : slirp4netns-0.4.3-4.el7_8.x86_64                                                                                                                                                          5/11   验证中      : 2:container-selinux-2.119.2-1.911c772.el7_8.noarch                                                                                                                                        6/11   验证中      : 1:docker-ce-cli-26.0.0-1.el7.x86_64                                                                                                                                                       7/11   验证中      : containerd.io-1.6.28-3.2.el7.x86_64                                                                                                                                                       8/11   验证中      : docker-buildx-plugin-0.13.1-1.el7.x86_64                                                                                                                                                  9/11   验证中      : docker-ce-rootless-extras-26.0.0-1.el7.x86_64                                                                                                                                            10/11   验证中      : docker-compose-plugin-2.25.0-1.el7.x86_64                                                                                                                                                11/11 已安装:  container-selinux.noarch 2:2.119.2-1.911c772.el7_8      containerd.io.x86_64 0:1.6.28-3.2.el7                docker-buildx-plugin.x86_64 0:0.13.1-1.el7       docker-ce.x86_64 3:26.0.0-1.el7                docker-ce-cli.x86_64 1:26.0.0-1.el7                     docker-ce-rootless-extras.x86_64 0:26.0.0-1.el7      docker-compose-plugin.x86_64 0:2.25.0-1.el7      docker-scan-plugin.x86_64 0:0.23.0-3.el7       fuse-overlayfs.x86_64 0:0.7.2-6.el7_8                   fuse3-libs.x86_64 0:3.6.1-4.el7                      slirp4netns.x86_64 0:0.4.3-4.el7_8              完毕![root@vm-3rd89n7dd docker-ce-26.0.0]# systemctl start docker.socket docker.service containerd.service [root@vm-3rd89n7dd docker-ce-26.0.0]# systemctl enable docker.socket docker.service containerd.service Created symlink from /etc/systemd/system/sockets.target.wants/docker.socket to /usr/lib/systemd/system/docker.socket.Created symlink from /etc/systemd/system/multi-user.target.wants/docker.service to /usr/lib/systemd/system/docker.service.Created symlink from /etc/systemd/system/multi-user.target.wants/containerd.service to /usr/lib/systemd/system/containerd.service.[root@vm-3rd89n7dd docker-ce-26.0.0]# systemctl status docker.socket docker.service containerd.service ● docker.socket - Docker Socket for the API   Loaded: loaded (/usr/lib/systemd/system/docker.socket; enabled; vendor preset: disabled)   Active: active (running) since 五 2024-03-22 08:07:34 CST; 18s ago   Listen: /run/docker.sock (Stream)3月 22 08:07:33 vm-3rd89n7dd systemd[1]: Starting Docker Socket for the API.3月 22 08:07:34 vm-3rd89n7dd systemd[1]: Listening on Docker Socket for the API.● docker.service - Docker Application Container Engine   Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)   Active: active (running) since 五 2024-03-22 08:07:36 CST; 16s ago     Docs: https://docs.docker.com Main PID: 59331 (dockerd)   CGroup: /system.slice/docker.service           └─59331 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock3月 22 08:07:34 vm-3rd89n7dd systemd[1]: Starting Docker Application Container Engine...3月 22 08:07:34 vm-3rd89n7dd dockerd[59331]: time="2024-03-22T08:07:34.304402665+08:00" level=info msg="Starting up"3月 22 08:07:34 vm-3rd89n7dd dockerd[59331]: time="2024-03-22T08:07:34.411593303+08:00" level=info msg="Loading containers: start."3月 22 08:07:35 vm-3rd89n7dd dockerd[59331]: time="2024-03-22T08:07:35.714404555+08:00" level=info msg="Firewalld: interface docker0 already part of docker zone, returning"3月 22 08:07:35 vm-3rd89n7dd dockerd[59331]: time="2024-03-22T08:07:35.930012262+08:00" level=info msg="Loading containers: done."3月 22 08:07:35 vm-3rd89n7dd dockerd[59331]: time="2024-03-22T08:07:35.967811138+08:00" level=info msg="Docker daemon" commit=8b79278 containerd-snapshotter=false storage-driver=overlay2 version=26.0.03月 22 08:07:35 vm-3rd89n7dd dockerd[59331]: time="2024-03-22T08:07:35.967945135+08:00" level=info msg="Daemon has completed initialization"3月 22 08:07:36 vm-3rd89n7dd dockerd[59331]: time="2024-03-22T08:07:36.008123907+08:00" level=info msg="API listen on /run/docker.sock"3月 22 08:07:36 vm-3rd89n7dd systemd[1]: Started Docker Application Container Engine.● containerd.service - containerd container runtime   Loaded: loaded (/usr/lib/systemd/system/containerd.service; enabled; vendor preset: disabled)   Active: active (running) since 五 2024-03-22 08:07:34 CST; 18s ago     Docs: https://containerd.io Main PID: 59321 (containerd)   CGroup: /system.slice/containerd.service           └─59321 /usr/bin/containerd3月 22 08:07:34 vm-3rd89n7dd containerd[59321]: time="2024-03-22T08:07:34.203029834+08:00" level=info msg="loading plugin \"io.containerd.tracing.processor.v1.otlp\"..." type=io.containerd.t....processor.v13月 22 08:07:34 vm-3rd89n7dd containerd[59321]: time="2024-03-22T08:07:34.203043341+08:00" level=info msg="skip loading plugin \"io.containerd.tracing.processor.v1.otlp\"..." error="no OpenT....processor.v13月 22 08:07:34 vm-3rd89n7dd systemd[1]: Started containerd container runtime.3月 22 08:07:34 vm-3rd89n7dd containerd[59321]: time="2024-03-22T08:07:34.203053531+08:00" level=info msg="loading plugin \"io.containerd.internal.v1.tracing\"..." type=io.containerd.internal.v13月 22 08:07:34 vm-3rd89n7dd containerd[59321]: time="2024-03-22T08:07:34.203106984+08:00" level=error msg="failed to initialize a tracing processor \"otlp\"" error="no OpenTelemetry endpoint: skip plugin"3月 22 08:07:34 vm-3rd89n7dd containerd[59321]: time="2024-03-22T08:07:34.203158965+08:00" level=info msg="loading plugin \"io.containerd.internal.v1.restart\"..." type=io.containerd.internal.v13月 22 08:07:34 vm-3rd89n7dd containerd[59321]: time="2024-03-22T08:07:34.203199591+08:00" level=info msg="loading plugin \"io.containerd.grpc.v1.healthcheck\"..." type=io.containerd.grpc.v13月 22 08:07:34 vm-3rd89n7dd containerd[59321]: time="2024-03-22T08:07:34.203909348+08:00" level=info msg=serving... address=/run/containerd/containerd.sock.ttrpc3月 22 08:07:34 vm-3rd89n7dd containerd[59321]: time="2024-03-22T08:07:34.203961478+08:00" level=info msg=serving... address=/run/containerd/containerd.sock3月 22 08:07:34 vm-3rd89n7dd containerd[59321]: time="2024-03-22T08:07:34.204354080+08:00" level=info msg="containerd successfully booted in 0.037528s"Hint: Some lines were ellipsized, use -l to show in full.[root@vm-3rd89n7dd docker-ce-26.0.0]# docker versionClient: Docker Engine - Community Version:           26.0.0 API version:       1.45 Go version:        go1.21.8 Git commit:        2ae903e Built:             Wed Mar 20 15:21:09 2024 OS/Arch:           linux/amd64 Context:           defaultServer: Docker Engine - Community Engine:  Version:          26.0.0  API version:      1.45 (minimum version 1.24)  Go version:       go1.21.8  Git commit:       8b79278  Built:            Wed Mar 20 15:20:06 2024  OS/Arch:          linux/amd64  Experimental:     false containerd:  Version:          1.6.28  GitCommit:        ae07eda36dd25f8a1b98dfbf587313b99c0190bb runc:  Version:          1.1.12  GitCommit:        v1.1.12-0-g51d5e94 docker-init:  Version:          0.19.0  GitCommit:        de40ad0[root@vm-3rd89n7dd docker-ce-26.0.0]# docker infoClient: Docker Engine - Community Version:    26.0.0 Context:    default Debug Mode: false Plugins:  buildx: Docker Buildx (Docker Inc.)    Version:  v0.13.1    Path:     /usr/libexec/docker/cli-plugins/docker-buildx  compose: Docker Compose (Docker Inc.)    Version:  v2.25.0    Path:     /usr/libexec/docker/cli-plugins/docker-compose  scan: Docker Scan (Docker Inc.)    Version:  v0.23.0    Path:     /usr/libexec/docker/cli-plugins/docker-scanServer: Containers: 0  Running: 0  Paused: 0  Stopped: 0 Images: 0 Server Version: 26.0.0 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: cgroupfs Cgroup Version: 1 Plugins:  Volume: local  Network: bridge host ipvlan macvlan null overlay  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog Swarm: inactive Runtimes: io.containerd.runc.v2 runc Default Runtime: runc Init Binary: docker-init containerd version: ae07eda36dd25f8a1b98dfbf587313b99c0190bb runc version: v1.1.12-0-g51d5e94 init version: de40ad0 Security Options:  seccomp   Profile: builtin Kernel Version: 3.10.0-1160.el7.x86_64 Operating System: CentOS Linux 7 (Core) OSType: linux Architecture: x86_64 CPUs: 2 Total Memory: 7.777GiB Name: vm-3rd89n7dd ID: 7a83d540-9183-4005-9b74-5c4eb564e64e Docker Root Dir: /var/lib/docker Debug Mode: false Experimental: false Insecure Registries:  127.0.0.0/8 Live Restore Enabled: false

点击全文阅读

郑重声明:

本站所有活动均为互联网所得,如有侵权请联系本站删除处理

我来说两句