当前位置: 首页 > 工具软件 > docker-ce > 使用案例 >

【DockerCE】Docker-CE 20.10.22正式版发布

华易安
2023-12-01

官网地址(For RHEL/CentOS 7.9):

https://download.docker.com/linux/centos/7/x86_64/stable/Packages/

20.10.22版本官方安装包如下:

[root@middleware docker-ce-20.10.22] ls -ltr
-rwxr-xr-x 1 root root  8882808 12月 16 21:39 docker-ce-rootless-extras-20.10.22-3.el7.x86_64.rpm
-rwxr-xr-x 1 root root 10750644 12月 16 21:39 docker-compose-plugin-2.14.1-3.el7.x86_64.rpm
-rwxr-xr-x 1 root root  4006940 12月 16 21:39 docker-scan-plugin-0.23.0-3.el7.x86_64.rpm
-rwxr-xr-x 1 root root 22764976 12月 16 21:40 docker-ce-20.10.22-3.el7.x86_64.rpm
-rwxr-xr-x 1 root root 30993128 12月 16 21:40 docker-ce-cli-20.10.22-3.el7.x86_64.rpm
-rwxr-xr-x 1 root root 34560472 12月 16 21:41 containerd.io-1.6.13-3.1.el7.x86_64.rpm

        下载完以上的官方包以后,将上面的包上传到一台可以连接外网CentOS7.9服务器上,然后使用下面的命令来下载依赖包。

[root@middleware docker-ce-20.10.22]# yum install -y --downloadonly --downloaddir=./ *.rpm
已加载插件:fastestmirror, langpacks
正在检查 containerd.io-1.6.13-3.1.el7.x86_64.rpm: containerd.io-1.6.13-3.1.el7.x86_64
containerd.io-1.6.13-3.1.el7.x86_64.rpm 将被安装
正在检查 docker-ce-20.10.22-3.el7.x86_64.rpm: 3:docker-ce-20.10.22-3.el7.x86_64
docker-ce-20.10.22-3.el7.x86_64.rpm 将被安装
正在检查 docker-ce-cli-20.10.22-3.el7.x86_64.rpm: 1:docker-ce-cli-20.10.22-3.el7.x86_64
docker-ce-cli-20.10.22-3.el7.x86_64.rpm 将被安装
正在检查 docker-ce-rootless-extras-20.10.22-3.el7.x86_64.rpm: docker-ce-rootless-extras-20.10.22-3.el7.x86_64
docker-ce-rootless-extras-20.10.22-3.el7.x86_64.rpm 将被安装
正在检查 docker-compose-plugin-2.14.1-3.el7.x86_64.rpm: docker-compose-plugin-2.14.1-3.el7.x86_64
docker-compose-plugin-2.14.1-3.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.13-3.1.el7 将被 安装
--> 正在处理依赖关系 container-selinux >= 2:2.74,它被软件包 containerd.io-1.6.13-3.1.el7.x86_64 需要
Loading mirror speeds from cached hostfile
 * base: mirrors.163.com
 * extras: mirrors.163.com
 * updates: mirrors.163.com
base                                                                                                                              | 3.6 kB  00:00:00     
extras                                                                                                                            | 2.9 kB  00:00:00     
updates                                                                                                                           | 2.9 kB  00:00:00     
---> 软件包 docker-ce.x86_64.3.20.10.22-3.el7 将被 安装
---> 软件包 docker-ce-cli.x86_64.1.20.10.22-3.el7 将被 安装
---> 软件包 docker-ce-rootless-extras.x86_64.0.20.10.22-3.el7 将被 安装
--> 正在处理依赖关系 fuse-overlayfs >= 0.7,它被软件包 docker-ce-rootless-extras-20.10.22-3.el7.x86_64 需要
--> 正在处理依赖关系 slirp4netns >= 0.4,它被软件包 docker-ce-rootless-extras-20.10.22-3.el7.x86_64 需要
---> 软件包 docker-compose-plugin.x86_64.0.2.14.1-3.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.13-3.1.el7                       /containerd.io-1.6.13-3.1.el7.x86_64                      112 M
 docker-ce                          x86_64          3:20.10.22-3.el7                     /docker-ce-20.10.22-3.el7.x86_64                           84 M
 docker-ce-cli                      x86_64          1:20.10.22-3.el7                     /docker-ce-cli-20.10.22-3.el7.x86_64                      129 M
 docker-ce-rootless-extras          x86_64          20.10.22-3.el7                       /docker-ce-rootless-extras-20.10.22-3.el7.x86_64           18 M
 docker-compose-plugin              x86_64          2.14.1-3.el7                         /docker-compose-plugin-2.14.1-3.el7.x86_64                 43 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

事务概要
=========================================================================================================================================================
安装  6 软件包 (+4 依赖软件包)

总计:398 M
总下载量:258 k
安装大小:398 M
Background downloading packages, then exiting:
(1/4): container-selinux-2.119.2-1.911c772.el7_8.noarch.rpm                                                                       |  40 kB  00:00:00     
(2/4): fuse-overlayfs-0.7.2-6.el7_8.x86_64.rpm                                                                                    |  54 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:01     
---------------------------------------------------------------------------------------------------------------------------------------------------------
总计                                                                                                                     176 kB/s | 258 kB  00:00:01     
exiting because "Download Only" specified
[root@middleware docker-ce-20.10.22]# ls -ltr
总用量 109608
-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
-rwxr-xr-x 1 root root  8882808 12月 16 21:39 docker-ce-rootless-extras-20.10.22-3.el7.x86_64.rpm
-rwxr-xr-x 1 root root 10750644 12月 16 21:39 docker-compose-plugin-2.14.1-3.el7.x86_64.rpm
-rwxr-xr-x 1 root root  4006940 12月 16 21:39 docker-scan-plugin-0.23.0-3.el7.x86_64.rpm
-rwxr-xr-x 1 root root 22764976 12月 16 21:40 docker-ce-20.10.22-3.el7.x86_64.rpm
-rwxr-xr-x 1 root root 30993128 12月 16 21:40 docker-ce-cli-20.10.22-3.el7.x86_64.rpm
-rwxr-xr-x 1 root root 34560472 12月 16 21:41 containerd.io-1.6.13-3.1.el7.x86_64.rpm

        依赖包(4个)下载完成后,我们就可以将这个目录打包到任何CentOS或者Redaht 7.9版本的服务器上进行安装了。

[root@middleware docker-ce-20.10.22]# 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.13-3.1.el7.x86_64.rpm: containerd.io-1.6.13-3.1.el7.x86_64
containerd.io-1.6.13-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-ce-20.10.22-3.el7.x86_64.rpm: 3:docker-ce-20.10.22-3.el7.x86_64
docker-ce-20.10.22-3.el7.x86_64.rpm 将被安装
正在检查 docker-ce-cli-20.10.22-3.el7.x86_64.rpm: 1:docker-ce-cli-20.10.22-3.el7.x86_64
docker-ce-cli-20.10.22-3.el7.x86_64.rpm 将被安装
正在检查 docker-ce-rootless-extras-20.10.22-3.el7.x86_64.rpm: docker-ce-rootless-extras-20.10.22-3.el7.x86_64
docker-ce-rootless-extras-20.10.22-3.el7.x86_64.rpm 将被安装
正在检查 docker-compose-plugin-2.14.1-3.el7.x86_64.rpm: docker-compose-plugin-2.14.1-3.el7.x86_64
docker-compose-plugin-2.14.1-3.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 将被安装
正在解决依赖关系
--> 正在检查事务
---> 软件包 container-selinux.noarch.2.2.119.2-1.911c772.el7_8 将被 安装
---> 软件包 containerd.io.x86_64.0.1.6.13-3.1.el7 将被 安装
---> 软件包 docker-ce.x86_64.3.20.10.22-3.el7 将被 安装
---> 软件包 docker-ce-cli.x86_64.1.20.10.22-3.el7 将被 安装
---> 软件包 docker-ce-rootless-extras.x86_64.0.20.10.22-3.el7 将被 安装
---> 软件包 docker-compose-plugin.x86_64.0.2.14.1-3.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 将被 安装
--> 解决依赖关系完成
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                            架构            版本                                源                                                          大小
=========================================================================================================================================================
正在安装:
 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.13-3.1.el7                      /containerd.io-1.6.13-3.1.el7.x86_64                       112 M
 docker-ce                          x86_64          3:20.10.22-3.el7                    /docker-ce-20.10.22-3.el7.x86_64                            84 M
 docker-ce-cli                      x86_64          1:20.10.22-3.el7                    /docker-ce-cli-20.10.22-3.el7.x86_64                       129 M
 docker-ce-rootless-extras          x86_64          20.10.22-3.el7                      /docker-ce-rootless-extras-20.10.22-3.el7.x86_64            18 M
 docker-compose-plugin              x86_64          2.14.1-3.el7                        /docker-compose-plugin-2.14.1-3.el7.x86_64                  43 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

事务概要
=========================================================================================================================================================
安装  10 软件包

总计:398 M
安装大小:398 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在安装    : 2:container-selinux-2.119.2-1.911c772.el7_8.noarch                                                                                  1/10 
setsebool:  SELinux is disabled.
  正在安装    : containerd.io-1.6.13-3.1.el7.x86_64                                                                                                 2/10 
  正在安装    : fuse3-libs-3.6.1-4.el7.x86_64                                                                                                       3/10 
  正在安装    : fuse-overlayfs-0.7.2-6.el7_8.x86_64                                                                                                 4/10 
  正在安装    : slirp4netns-0.4.3-4.el7_8.x86_64                                                                                                    5/10 
  正在安装    : docker-scan-plugin-0.23.0-3.el7.x86_64                                                                                              6/10 
  正在安装    : 1:docker-ce-cli-20.10.22-3.el7.x86_64                                                                                               7/10 
  正在安装    : docker-ce-rootless-extras-20.10.22-3.el7.x86_64                                                                                     8/10 
  正在安装    : 3:docker-ce-20.10.22-3.el7.x86_64                                                                                                   9/10 
  正在安装    : docker-compose-plugin-2.14.1-3.el7.x86_64                                                                                          10/10 
  验证中      : 3:docker-ce-20.10.22-3.el7.x86_64                                                                                                   1/10 
  验证中      : docker-scan-plugin-0.23.0-3.el7.x86_64                                                                                              2/10 
  验证中      : docker-ce-rootless-extras-20.10.22-3.el7.x86_64                                                                                     3/10 
  验证中      : fuse-overlayfs-0.7.2-6.el7_8.x86_64                                                                                                 4/10 
  验证中      : slirp4netns-0.4.3-4.el7_8.x86_64                                                                                                    5/10 
  验证中      : 2:container-selinux-2.119.2-1.911c772.el7_8.noarch                                                                                  6/10 
  验证中      : 1:docker-ce-cli-20.10.22-3.el7.x86_64                                                                                               7/10 
  验证中      : containerd.io-1.6.13-3.1.el7.x86_64                                                                                                 8/10 
  验证中      : fuse3-libs-3.6.1-4.el7.x86_64                                                                                                       9/10 
  验证中      : docker-compose-plugin-2.14.1-3.el7.x86_64                                                                                          10/10 

已安装:
  container-selinux.noarch 2:2.119.2-1.911c772.el7_8   containerd.io.x86_64 0:1.6.13-3.1.el7               docker-ce.x86_64 3:20.10.22-3.el7            
  docker-ce-cli.x86_64 1:20.10.22-3.el7                docker-ce-rootless-extras.x86_64 0:20.10.22-3.el7   docker-compose-plugin.x86_64 0:2.14.1-3.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                  

完毕!

启动和运行docker服务

[root@middleware docker-ce-20.10.22]# systemctl enable docker.service docker.socket containerd.service
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/sockets.target.wants/docker.socket to /usr/lib/systemd/system/docker.socket.
Created symlink from /etc/systemd/system/multi-user.target.wants/containerd.service to /usr/lib/systemd/system/containerd.service.
[root@middleware docker-ce-20.10.22]# systemctl start docker.service docker.socket containerd.service
[root@middleware docker-ce-20.10.22]# systemctl status docker.service docker.socket containerd.service
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
   Active: active (running) since 六 2022-12-17 10:58:14 CST; 6s ago
     Docs: https://docs.docker.com
 Main PID: 1807 (dockerd)
    Tasks: 9
   Memory: 28.3M
   CGroup: /system.slice/docker.service
           └─1807 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

12月 17 10:58:14 middleware dockerd[1807]: time="2022-12-17T10:58:14.420355948+08:00" level=info msg="scheme \"unix\" not registered, fallbac...ule=grpc
12月 17 10:58:14 middleware dockerd[1807]: time="2022-12-17T10:58:14.420392243+08:00" level=info msg="ccResolverWrapper: sending update to cc...ule=grpc
12月 17 10:58:14 middleware dockerd[1807]: time="2022-12-17T10:58:14.420411348+08:00" level=info msg="ClientConn switching balancer to \"pick...ule=grpc
12月 17 10:58:14 middleware dockerd[1807]: time="2022-12-17T10:58:14.453066560+08:00" level=info msg="Loading containers: start."
12月 17 10:58:14 middleware dockerd[1807]: time="2022-12-17T10:58:14.638020165+08:00" level=info msg="Default bridge (docker0) is assigned wi...address"
12月 17 10:58:14 middleware dockerd[1807]: time="2022-12-17T10:58:14.709284996+08:00" level=info msg="Loading containers: done."
12月 17 10:58:14 middleware dockerd[1807]: time="2022-12-17T10:58:14.802785345+08:00" level=info msg="Docker daemon" commit=42c8b31 graphdriv...20.10.22
12月 17 10:58:14 middleware dockerd[1807]: time="2022-12-17T10:58:14.803034250+08:00" level=info msg="Daemon has completed initialization"
12月 17 10:58:14 middleware systemd[1]: Started Docker Application Container Engine.
12月 17 10:58:14 middleware dockerd[1807]: time="2022-12-17T10:58:14.857817074+08:00" level=info msg="API listen on /var/run/docker.sock"

● docker.socket - Docker Socket for the API
   Loaded: loaded (/usr/lib/systemd/system/docker.socket; enabled; vendor preset: disabled)
   Active: active (running) since 六 2022-12-17 10:58:14 CST; 6s ago
   Listen: /var/run/docker.sock (Stream)

12月 17 10:58:13 middleware systemd[1]: Starting Docker Socket for the API.
12月 17 10:58:14 middleware systemd[1]: Listening on Docker Socket for the API.

● containerd.service - containerd container runtime
   Loaded: loaded (/usr/lib/systemd/system/containerd.service; enabled; vendor preset: disabled)
   Active: active (running) since 六 2022-12-17 10:58:14 CST; 6s ago
     Docs: https://containerd.io
  Process: 1792 ExecStartPre=/sbin/modprobe overlay (code=exited, status=0/SUCCESS)
 Main PID: 1796 (containerd)
    Tasks: 9
   Memory: 16.1M
   CGroup: /system.slice/containerd.service
           └─1796 /usr/bin/containerd

12月 17 10:58:14 middleware containerd[1796]: time="2022-12-17T10:58:14.296182723+08:00" level=info msg="loading plugin \"io.containerd.grpc.....grpc.v1
12月 17 10:58:14 middleware containerd[1796]: time="2022-12-17T10:58:14.296195236+08:00" level=info msg="loading plugin \"io.containerd.grpc.....grpc.v1
12月 17 10:58:14 middleware containerd[1796]: time="2022-12-17T10:58:14.296207434+08:00" level=info msg="loading plugin \"io.containerd.traci...essor.v1
12月 17 10:58:14 middleware containerd[1796]: time="2022-12-17T10:58:14.296222562+08:00" level=info msg="skip loading plugin \"io.containerd....essor.v1
12月 17 10:58:14 middleware containerd[1796]: time="2022-12-17T10:58:14.296234662+08:00" level=info msg="loading plugin \"io.containerd.inter...ernal.v1
12月 17 10:58:14 middleware containerd[1796]: time="2022-12-17T10:58:14.296266824+08:00" level=error msg="failed to initialize a tracing proc... plugin"
12月 17 10:58:14 middleware containerd[1796]: time="2022-12-17T10:58:14.296524355+08:00" level=info msg=serving... address=/run/containerd/co...ck.ttrpc
12月 17 10:58:14 middleware containerd[1796]: time="2022-12-17T10:58:14.296564013+08:00" level=info msg=serving... address=/run/containerd/co...erd.sock
12月 17 10:58:14 middleware containerd[1796]: time="2022-12-17T10:58:14.296611047+08:00" level=info msg="containerd successfully booted in 0.032365s"
12月 17 10:58:14 middleware systemd[1]: Started containerd container runtime.
Hint: Some lines were ellipsized, use -l to show in full.

检查docker版本信息

[root@middleware docker-ce-20.10.22]# docker version
Client: Docker Engine - Community
 Version:           20.10.22
 API version:       1.41
 Go version:        go1.18.9
 Git commit:        3a2c30b
 Built:             Thu Dec 15 22:30:24 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.22
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.18.9
  Git commit:       42c8b31
  Built:            Thu Dec 15 22:28:33 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.13
  GitCommit:        78f51771157abb6c9ed224c22013cdf09962315d
 runc:
  Version:          1.1.4
  GitCommit:        v1.1.4-0-g5fd4c4d
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
[root@middleware docker-ce-20.10.22]# docker info
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Docker Buildx (Docker Inc., v0.9.1-docker)
  compose: Docker Compose (Docker Inc., v2.14.1)
  scan: Docker Scan (Docker Inc., v0.23.0)

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 0
 Server Version: 20.10.22
 Storage Driver: overlay2
  Backing Filesystem: xfs
  Supports d_type: true
  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 logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runtime.v1.linux runc io.containerd.runc.v2
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 78f51771157abb6c9ed224c22013cdf09962315d
 runc version: v1.1.4-0-g5fd4c4d
 init version: de40ad0
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 3.10.0-1160.el7.x86_64
 Operating System: CentOS Linux 7 (Core)
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 3.84GiB
 Name: middleware
 ID: LFFF:3BEG:PK3M:VZDR:3SQ4:DXML:FXFK:ZN2X:F5V7:RHFP:QB63:FZDU
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
 类似资料: