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

官方下载地址(For RHEL/CentOS 7):

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

先从官网下载下面的rpm包:

再使用下面的命令获取离线安装所需的其他依赖包

# yum install -y *.rpm --downloadonly --downloaddir=./

# ls -ltr
总用量 105004
-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 23463920 3月  25 10:06 docker-ce-20.10.14-3.el7.x86_64.rpm
-rw-r--r--. 1 root root  8442456 3月  25 10:06 docker-ce-rootless-extras-20.10.14-3.el7.x86_64.rpm
-rw-r--r--. 1 root root  3930044 3月  25 10:06 docker-scan-plugin-0.17.0-3.el7.x86_64.rpm
-rw-r--r--. 1 root root  7526244 3月  25 10:07 docker-compose-plugin-2.3.3-3.el7.x86_64.rpm
-rw-r--r--. 1 root root 30179848 3月  25 10:07 containerd.io-1.5.11-3.1.el7.x86_64.rpm
-rw-r--r--. 1 root root 31977180 3月  25 10:07 docker-ce-cli-20.10.14-3.el7.x86_64.rpm

一键安装

# yum install -y *.rpm

服务启动

# systemctl start docker.service
# systemctl status docker.service
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
   Active: active (running) since 五 2022-03-25 10:17:07 CST; 5s ago
     Docs: https://docs.docker.com
 Main PID: 1873 (dockerd)
    Tasks: 9
   Memory: 34.1M
   CGroup: /system.slice/docker.service
           └─1873 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

3月 25 10:17:06 ansible-awx dockerd[1873]: time="2022-03-25T10:17:06.969905985+08:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
3月 25 10:17:06 ansible-awx dockerd[1873]: time="2022-03-25T10:17:06.969920786+08:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock  <nil> 0 <nil>}] <nil> <nil>}" module=grpc
3月 25 10:17:06 ansible-awx dockerd[1873]: time="2022-03-25T10:17:06.969930045+08:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
3月 25 10:17:07 ansible-awx dockerd[1873]: time="2022-03-25T10:17:07.000752896+08:00" level=info msg="Loading containers: start."
3月 25 10:17:07 ansible-awx dockerd[1873]: time="2022-03-25T10:17:07.241913166+08:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a...rred IP address"
3月 25 10:17:07 ansible-awx dockerd[1873]: time="2022-03-25T10:17:07.306506852+08:00" level=info msg="Loading containers: done."
3月 25 10:17:07 ansible-awx dockerd[1873]: time="2022-03-25T10:17:07.323749037+08:00" level=info msg="Docker daemon" commit=87a90dc graphdriver(s)=overlay2 version=20.10.14
3月 25 10:17:07 ansible-awx dockerd[1873]: time="2022-03-25T10:17:07.324389965+08:00" level=info msg="Daemon has completed initialization"
3月 25 10:17:07 ansible-awx systemd[1]: Started Docker Application Container Engine.
3月 25 10:17:07 ansible-awx dockerd[1873]: time="2022-03-25T10:17:07.347083108+08:00" level=info msg="API listen on /var/run/docker.sock"
Hint: Some lines were ellipsized, use -l to show in full.

版本信息

# docker version
Client: Docker Engine - Community
 Version:           20.10.14
 API version:       1.41
 Go version:        go1.16.15
 Git commit:        a224086
 Built:             Thu Mar 24 01:49:57 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.14
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.15
  Git commit:       87a90dc
  Built:            Thu Mar 24 01:48:24 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.5.11
  GitCommit:        3df54a852345ae127d1fa3092b95168e4a88e2f8
 runc:
  Version:          1.0.3
  GitCommit:        v1.0.3-0-gf46b6ba
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

# docker info
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Docker Buildx (Docker Inc., v0.8.1-docker)
  compose: Docker Compose (Docker Inc., v2.3.3)
  scan: Docker Scan (Docker Inc., v0.17.0)

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 0
 Server Version: 20.10.14
 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.runc.v2 io.containerd.runtime.v1.linux runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 3df54a852345ae127d1fa3092b95168e4a88e2f8
 runc version: v1.0.3-0-gf46b6ba
 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: 7.777GiB
 Name: ansible-awx
 ID: BJJQ:WXKJ:TQJJ:KRR3:HVUF:3HAU:3NN2:AZWS:4QSC:TOFR:MJ72:JRPZ
 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
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

cnskylee

技术分享我是认真的,期待您打赏

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值