CentOS6.5 install Docker1.8.1

Source: Internet
Author: User

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/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.