Cedari
Posts: 3
Joined: Wed Feb 11, 2015 1:05 pm

cgroup

Wed Feb 11, 2015 1:08 pm

I get a warning that cgroup is not activated due to missing memory controller or that it is not included in the kernel. Please patch for this since I need to get docker up and running under raspian on Raspberry Pi 2 as soon as possible. Arch linux already has it up and running!

Thanks in advance

plugwash
Forum Moderator
Forum Moderator
Posts: 3552
Joined: Wed Dec 28, 2011 11:45 pm

Re: cgroup

Wed Feb 11, 2015 1:09 pm

AIUI the raspberry pi foundation disable memory cgroup support in their kernels because it reduces overall usable memory.

ktb
Posts: 1447
Joined: Fri Dec 26, 2014 7:53 pm

Re: cgroup

Wed Feb 11, 2015 1:39 pm

You should be able to enable it. Add cgroup_enable=memory to cmdline.txt

Cedari
Posts: 3
Joined: Wed Feb 11, 2015 1:05 pm

Re: cgroup

Fri Feb 13, 2015 7:54 am

I agree with ktb! A vital feature for some as sound or gpio that also use memory!

It would be a treat if we had a smorgasbord of options for the little more advanced users.

itsmedoofer
Posts: 362
Joined: Wed Sep 25, 2013 8:43 am

Re: cgroup

Fri Feb 13, 2015 12:15 pm

I could be wrong but with the latest image and a Pi2 it looked as if it was already enabled without the switch.......

diederik
Posts: 393
Joined: Wed Mar 26, 2014 11:17 pm

Re: cgroup

Fri Feb 13, 2015 4:57 pm

There surely are various cgroup parameters enabled:

Code: Select all

[email protected] ~ $ zgrep CGROUP /proc/config.gz 
CONFIG_CGROUPS=y
# CONFIG_CGROUP_DEBUG is not set
CONFIG_CGROUP_FREEZER=y
CONFIG_CGROUP_DEVICE=y
CONFIG_CGROUP_CPUACCT=y
# CONFIG_CGROUP_PERF is not set
CONFIG_CGROUP_SCHED=y
CONFIG_BLK_CGROUP=y
# CONFIG_DEBUG_BLK_CGROUP is not set
# CONFIG_NETFILTER_XT_MATCH_CGROUP is not set
CONFIG_NET_CLS_CGROUP=m
# CONFIG_CGROUP_NET_PRIO is not set
CONFIG_CGROUP_NET_CLASSID=y

beagile
Posts: 9
Joined: Tue Mar 03, 2015 9:24 pm

Re: cgroup

Tue Mar 03, 2015 9:52 pm

Hi Cedari,

if you want a fast and easy start with Docker on the Raspberry Pi just use our Get-Docker-Up-And-Running-On-Your-Pi-In-No-Time SD card image. It includes a recent 3.18.8 kernel with the lastest Docker 1.5.0 version. It gets you up and running with Docker on your Pi in no time.

You can find our image and information about how to use it here: http://blog.hypriot.com/heavily-armed-a ... -1-dot-5-0

Govinda
- blog.hypriot.com

Return to “Raspbian”