Installing Docker under CentOS

Source: Internet
Author: User

First, when installing Docker, add third-party source Epel
If it's Centos7,

Download and install this package

wget http://mirror.hust.edu.cn/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm

RPM-IVH epel-release-7-0.2.noarch.rpm

If it's CENTOS6,

wget http://mirrors.hustunique.com/epel/6/i386/epel-release-6-8.noarch.rpm 32-bit
RPM-UVH http://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm 64-bit

RPM-IVH epel-release-6-8.noarch.rpm

Second, install Docker

Yum Install Docker-io

If the previous system has Docker this software, it is best to remove this package, an old package


$ service Docker start

$ chkconfig Docker on


This article is from the "My Operations Blog" blog, be sure to keep this source http://linuxpython.blog.51cto.com/10015972/1643722

Installing Docker under CentOS

Related Article

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.