How to install Docker in CentOS 6.8

Source: Internet
Author: User

[Root @ DS-VM-Node211 ~] # Curl-Lks https://yum.spaceduck.org/kernel-ml-aufs/kernel-ml-aufs.repo>/etc/yum. repos. d/kernel-ml-aufs.repo
[Root @ DS-VM-Node211 ~] # Yum remove kernel-headers-y
[Root @ DS-VM-Node211 ~] # Yum install kernel-ml-aufs-devel kernel-ml-aufs-headers-y
[Root @ DS-VM-Node239 ~] # Awk '/^ (default | title)/'/boot/grub. conf
Default = 1
Title CentOS (4.6.4-1. el6.x86 _ 64)
Title CentOS 6 (2.6.32-642.1.1.el6.centos.plus.x86 _ 64)
[Root @ DS-VM-Node239 ~] # Sed-I's/default =. */default = 0/'/boot/grub. conf
[Root @ DS-VM-Node239 ~] # Awk '/^ (default | title)/'/boot/grub. conf
Default = 0
Title CentOS (4.6.4-1. el6.x86 _ 64)
Title CentOS 6 (2.6.32-642.1.1.el6.centos.plus.x86 _ 64)
[Root @ DS-VM-Node239 ~] # Reboot

 

[Root @ DS-VM-Node239 ~] # Yum install epel-release-y
[Root @ DS-VM-Node239 ~] # Yum install docker-io

 

[Root @ DS-VM-Node239 ~] # Service docker start
Starting cgconfig service: [OK]
Starting docker: [OK]
[Root @ DS-VM-Node239 ~] # Docker info
Containers: 0
Images: 0
Storage Driver: aufs
Root Dir:/var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 0
Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 4.6.4-1. el6.x86 _ 64
Operating System: <unknown>
CPUs: 1
Total Memory: 482.8 MiB
Name: DS-VM-Node239.cluster.com
ID: LBKG: VOIP: EROQ: YVQ6: 32BQ: TJKQ: P3BX: 4BRE: 62XD: JLHQ: EL6Y: IJZ4
WARNING: No swap limit support
[Root @ DS-VM-Node239 ~] #

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.