docker-ce-17.03.2 离线安装RPM包

[root@docker05 docker]# ll
total 20796
-rw-r--r-- 1 root root    75032 Mar 26 23:52 audit-libs-python-2.7.6-3.el7.x86_64.rpm
-rw-r--r-- 1 root root   296980 Mar 26 23:52 checkpolicy-2.5-4.el7.x86_64.rpm
-rw-r--r-- 1 root root 19529520 Mar 26 23:25 docker-ce-17.03.2.ce-1.el7.centos.x86_64.rpm
-rw-r--r-- 1 root root    29108 Mar 26 23:25 docker-ce-selinux-17.03.2.ce-1.el7.centos.noarch.rpm
-rw-r--r-- 1 root root    66536 Mar 26 23:51 libcgroup-0.41-13.el7.x86_64.rpm
-rw-r--r-- 1 root root   106604 Mar 26 23:50 libsemanage-python-2.5-8.el7.x86_64.rpm
-rw-r--r-- 1 root root    50076 Mar 26 23:26 libtool-ltdl-2.4.2-22.el7_3.x86_64.rpm
-rw-r--r-- 1 root root   456316 Mar 26 23:43 policycoreutils-python-2.5-17.1.el7.x86_64.rpm
-rw-r--r-- 1 root root    32880 Mar 26 23:49 python-IPy-0.75-6.el7.noarch.rpm
-rw-r--r-- 1 root root   626528 Mar 26 23:47 setools-libs-3.3.8-1.1.el7.x86_64.rpm
[root@docker05 docker]# 
[root@docker05 docker]# uname -ra

 Linux docker05 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

[root@docker05 docker]# cat /etc/redhat-release 
CentOS Linux release 7.4.1708 (Core)
[root@docker05 docker]# docker info
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 0
Server Version: 17.03.2-ce
Storage Driver: overlay
 Backing Filesystem: xfs
 Supports d_type: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins: 
 Volume: local
 Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 4ab9917febca54791c5f071a9d1f404867857fcc
runc version: 54296cf40ad8143b62dbcaa1d90e520a2136ddfe
init version: 949e6fa
Security Options:
 seccomp
  Profile: default
Kernel Version: 3.10.0-693.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 1.797 GiB
Name: docker05
ID: M4S5:SNVN:YE4A:RAWE:EE7I:WQQI:V3CA:6D6F:SJWE:O76T:LOV4:5L26
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false
[root@docker05 docker]#
原文地址:https://www.cnblogs.com/liweiming/p/8656729.html