Skip to content

Instantly share code, notes, and snippets.

@scaratec
Last active October 9, 2016 10:05
Show Gist options
  • Save scaratec/f37472116e145abe619d568297ab8467 to your computer and use it in GitHub Desktop.
Save scaratec/f37472116e145abe619d568297ab8467 to your computer and use it in GitHub Desktop.
Debian Kernel Boot Options for Docker

#Debian Kernel Boot Options for Docker

Debian users will notice that docker stats won't output a memory usage of the containers. To solve this just add the following option to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub:

  cgroup_enable=memory swapaccount=1

Then run cgroup_enable=memory swapaccount=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment