LoginSignup
14
13

More than 5 years have passed since last update.

CentOS6.5にdockerをインストール

Posted at

Linux カーネルのバージョンアップ

RHEL系におけるdockerの動作環境

You will need RHEL 6.5 or higher, with a RHEL 6 kernel version 2.6.32-431 or higher as this has specific kernel fixes to allow Docker to work.

とのことですが、Linuxカーネルの不具合に起因してdockerのdevicemapperがディスクを開放しないことがある(Device-mapper does not release free space from removed)ようなのでカーネルを最新の安定版にバージョンアップしておきます。
CentOS6.5のカーネルを3.x系にバージョンアップ

dockerインストール

$ sudo yum -y install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
$ sudo yum -y install docker-io
$ sudo service docker start
$ sudo chkconfig docker on
14
13
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
13