centos6.5 Installing Docker

Source: Internet
Author: User

Installing the Docker service(centos6.4 because the kernel version is low, will not start after installation)
1. Installing Epel
#wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
This is to see if CentOS has its own epel.
#rpm-I. epel-release-6-8.noarch.rpm

If prompted cannot retrieve Metalink for Repository:epel. Verify its path and try again
The solution is to edit the/etc/yum.repos.d/epel.repo and comment out the base recovery, the address of the mirror
#baseurl
Mirrorlist
Change into
BaseURL
#mirrorlist

2. Installing Docker
# yum Install Docker-io


3. Start the service and join the boot
# service Docker Start
# Chkconfig Docker on

Install the official Docker image
1.docker Pull Centos:centos6

Run the Mirroring boot container
Docker Run-t-I Centos:centos6/bin/bash



centos6.5 Installing Docker

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.