Steps for installing docker in Centos 6.5 of compact edition

  • 2020-05-15 03:11:16
  • OfStack

Docker is an open source application container engine that allows developers to package their applications and dependencies into a portable container and release them to any popular Linux machine, as well as virtualization. Containers are completely sandboxed and have no interfaces with each other (app, like iPhone). There is little performance overhead and it can be easily run in machines and data centers. Most importantly, they are not dependent on any language, framework, or system.

1. Install the epel source


wget http://mirrors.yun-idc.com/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm
yum clean all

2. Install Docker

yum -y install docker-io

3. Start Docker

service docker start
docker -d

4. In addition to the kernel upgrade prompted in Centos 6.5, there is also an error

Centos 6.5 upgrade the kernel can refer to this article: / / www ofstack. com/os RedHat / 499067. html

Perform yum upgrade device-mapper-libs to upgrade

docker: relocation error: docker: symbol dm_task_get_info_with_deferred_remove, version Base not defined in file libdevmapper.so.1.02 with link time reference


Related articles: