4

I'd like to try docker-io on Centos 6.5 but the cgconfig daemon will not start:

/etc/init.d/cgconfig restart
Stopping cgconfig service:                                 [  OK  ]
Starting cgconfig service: Error: cannot mount cpuset to /cgroup/cpuset: Invalid argument
/sbin/cgconfigparser; error loading /etc/cgconfig.conf: Cgroup mounting failed
Failed to parse /etc/cgconfig.conf or /etc/cgconfig.d      [FAILED]

Contents of cgconfig.conf

mount {
    cpuset  = /cgroup/cpuset;
    cpu = /cgroup/cpu;
    cpuacct = /cgroup/cpuacct;
#   memory  = /cgroup/memory;
    devices = /cgroup/devices;
    freezer = /cgroup/freezer;
    net_cls = /cgroup/net_cls;
    blkio   = /cgroup/blkio;
}

The suggestions here did not help

-bash-4.1$ ls -l /cgroup
total 12
drwxr-xr-x 2 root root 4096 Sep  1 08:34 cpuacct
drwxr-xr-x 2 root root 4096 Sep  1 08:25 cpuset
drwxr-xr-x 2 root root 4096 Sep  1 08:37 devices
-bash-4.1$ 

UPDATE

The Centos 6.5 server is a Virtualized server running Virtuozzo (A Media Temple DV). It seems there would need to be some changes in the Virtuozzo provisioning of the server which the hosting company is not prepared to do. Apparently Virtuozzo does support running docker in Centos 7 but that's not something I am going to pursue. More info here. Bottom line is the Kernel the server is running is missing some modules / config which docker needs in order to run. In my case, this is not worth doing.

2
  • Why are you trying to use CentOS 6? Sep 1, 2015 at 16:33
  • Centos 6.5 is what the client's target server has and cannot be changed easily.
    – codecowboy
    Sep 2, 2015 at 7:14

1 Answer 1

3

The Centos 6.5 server is a Virtualized server running Virtuozzo (A Media Temple DV). It seems there would need to be some changes in the Virtuozzo provisioning of the server which the hosting company is not prepared to do. Apparently Virtuozzo does support running docker in Centos 7 but that's not something I am going to pursue. More info here. Bottom line is the Kernel the server is running is missing some modules / config which docker needs in order to run.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .