Easy CentOS Configuration Docker repair

Source: Internet
Author: User

First of all. Because Docker implementations require some Linux components to support itself and kernel features. Make sure that the CentOS version number is greater than 6, and that the kernel version number is greater than 2.6.32-431. You can easily upgrade CENTOS6 to the latest version number.

sudo yum upgrade

Then install Cgroup

sudo yum install libcgroupservice cgconfig start     #启动croup服务lssubsys-am

assuming a successful installation, the last command lssubsys-am displays all of the subsystem's mount points


Source Code mode installation LXC

sudo yum install gcc makewget http://sourceforge.net/projects/lxc/files/latest/download?

SOURCE=FILESTAR-XF LXC-0.9.0.TAR.GZCD lxc-0.9.0./configure--disable-capabilitiesmakesudo make Installlxc-checkconfig

Assume a successful installation. The last command Lxc-checkconfig will successfully show those features that the kernel supports LXC


Finally install Docker,docker on CentOS installation using direct download Bin Package execution method

CD ~wget HTTPS://GET.DOCKER.IO/BUILDS/LINUX/X86_64/DOCKER-LATEST.TGZTAR-XF Docker-latest.tgzusr/local/bin/docker- D

So docker the service starts, and there will be time to deploy the anti-Docker virtual container

Copyright notice: This article Bo Master original articles, blogs, without consent may not be reproduced.

Easy CentOS Configuration Docker repair

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.