Enable memory control in Docker with Fedora 20

1) Enable in grub cgroup_enable=memory swapaccount=1 in our default kernel:

# vi /etc/grub2.cfg
  ...
  linux   /vmlinuz-3.13.9-200.fc20.x86_64 ... cgroup_enable=memory swapaccount=1
  ...
# shutdown -r now
# grep cgroup_enable /proc/cmdline

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.