rpm -iUvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum update -y
yum -y install docker-io
After doing these, i met a problem with Cgroup.
/cgroup/memory: No such file or directory
Starting cgconfig service: Error: cannot mount memory to /cgroup/memory: No such file or directory
/sbin/cgconfigparser; error loading /etc/cgconfig.conf: Cgroup mounting failed
Failed to parse /etc/cgconfig.conf [FAILED]
Then, edit "/etc/cgconfig.conf" as follows :
# memory = /cgroup/memory;
And start the cgroup service and docker
$ sudo service cgconfig start
$ sudo service docker start
Optionally, we can configure docker to start at every booting time as follows,
$ sudo chkconfig docker on
WRITTEN BY
- RootFriend
개인적으로... 나쁜 기억력에 도움되라고 만들게되었습니다.
,