CentOS modifies Yum source and installs Docker

Source: Internet
Author: User

Backup/etc/yum.repos.d/centos-base.repo First

Download the corresponding version of the repo file, put in the/etc/yum.repos.d/(please do the appropriate backup before the operation)

    • CentOS5

    • CentOS6

Run the Yum Makecache build cache

Eple Source:

RPM-UVH http://ftp.sjtu.edu.cn/fedora/epel/6/i386/epel-release-6-8.noarch.rpm

docker Installation:

you would need  RHEL 6.5

CentOS 6.5 is already a 2.6.32-431 kernel, so it's a good idea to install this version.

Yum-y Install Docker-io

Upgrade:

Yum-y Update Docker-io

Manual Upgrade:

wget Https://get.docker.io/builds/Linux/x86_64/docker-latest-O dockermv-f Docker/usr/bin/docker

Upgrade complete

Start:

Service Docker start

Boot start:

Chkconfig Docker on

This article is from the "Time to go" blog, please be sure to keep this source http://wwvoid.blog.51cto.com/2958042/1782594

CentOS modifies Yum source and installs Docker

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.