docker-enabled-vagrant icon indicating copy to clipboard operation
docker-enabled-vagrant copied to clipboard

Enable docker memory swap and accounting

Open achingbrain opened this issue 9 years ago • 0 comments

The output of running docker info in the williamyeh/debian-jessie64-docker image includes:

WARNING: No memory limit support
WARNING: No swap limit support

Indeed docker stats reports memory usage/limit as 0 MiB/0 MiB for any running container.

If you follow the Adjust memory and swap accounting section of the Ubuntu installation docs it fixes this problem and docker stats starts to report container memory usage.

Is there any chance of making the change to /etc/default/grub mentioned in the link above in the williamyeh/debian-jessie64-docker image on Atlas?

achingbrain avatar Aug 30 '16 10:08 achingbrain