1.安装EPEL扩展
rpm -Uvh http://mirrors.ustc.edu.cn/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
2.安装docker
yum install docker-io
3.测试
chkconfig docker on
service docker restart
docker info
[root@mio-11 ~]# docker info Containers: 0 Images: 0 Storage Driver: devicemapper Pool Name: docker-253:3-15565-pool Pool Blocksize: 65.54 kB Backing Filesystem: extfs Data file: /dev/loop0 Metadata file: /dev/loop1 Data Space Used: 305.7 MB Data Space Total: 107.4 GB Data Space Available: 4.617 GB Metadata Space Used: 729.1 kB Metadata Space Total: 2.147 GB Metadata Space Available: 2.147 GB Udev Sync Supported: true Deferred Removal Enabled: false Data loop file: /var/lib/docker/devicemapper/devicemapper/data Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata Library Version: 1.02.95-RHEL6 (2015-09-08) Execution Driver: native-0.2 Logging Driver: json-file Kernel Version: 2.6.32-358.el6.x86_64 Operating System: <unknown> CPUs: 2 Total Memory: 1.833 GiB Name: mio-11 ID: QFEM:MAD3:3TM6:NRCE:6NKL:5EEL:VAY6:HPWN:BDSB:YIKM:T3OX:BC6Q