CentOS6.5 install Docker1.8.1
The server is CentOS6.5 and cannot access the Internet. The kernel version is 2.6.32-431.11.2.el6.x86 _ 64. You must install docker version 1.8.1.
1. install necessary dependency packages:
* Iptables >=1.4
* Git> = 1.7
* Procps (ps)
* Cgroupfs hierarchy
Other packages are usually included in the system and will not be described in detail. The installation of cgroupfs is briefly described as follows:
A. Install libcgroup
Yum install libcgroup
B. Start the cgconfig service.
Sudo/etc/init. d/cgconfig start
C. Set cgconfig to start upon startup
Chkconfig cgconfig on
2. Download the docker binary file
Download docker's binary from the official address of docker: https://get.docker.com/builds/Linux/x86_64/docker-latest.tgz
Decompress the file to obtain the usr/loacal/bin/docker file.
3. Start docker daemon
Sudo usr/local/bin/docker-d &
Reference
Https://docs.docker.com/v1.5/installation/binaries/