Installing Docker under Linux CentOS

Source: Internet
Author: User

1. After loading a good centos in the VM, update the kernel

A kernel version of 3.8 or higher is required to run Docker, and the kernel must support a suitable storage driver (Drivice Mapper, AUFS, VFS, Btrfs, ZFS), and the default storage driver is Drivice Mapper or Aufs and the kernel must turn on cgroup and NAMESPCE functions.

Uname-r can view the kernel version.

Kernel upgrade

2. Installing Docker

Installing Docker

Yum-y Install Docker-io

Start Docker

Service Docker start

Boot up

Chkconfig--add--level 245 Docker

Service Docker status appears if Docker dead but Subsys locked executes

Rm/var/run/docker.*

Rm/var/lock/subsys/docker rm-rf/var/lib/docker/* rpm manual Download install yum install https://GET.DOCKER.COM/RPM/1.7.1/ centos-6/rpms/x86_64/docker-engine-1.7.1-1.el6.x86_64.rpm   service Docker start

Installing Docker under Linux 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.