9781783984787 by Unknown

9781783984787 by Unknown

Author:Unknown
Format: epub


Note

If the location of the cgroup file doesn't exist, find out where the file is mounted by running $ grep -w cgroup /proc/mounts | grep -w memory.

This is also a hack, and might change in the future if Docker decides to change the way memory limiting is internally implemented.

More information about this can be found at https://groups.google.com/forum/#!topic/docker-user/-pP8-KgJJGg.

Setting a storage limit on the virtual filesystem (Devicemapper)

Limiting disk usage can be a bit tricky. There is no direct way to limit the amount of disk space a container can use. The default storage driver, AUFS, doesn't support disk quotas, at least not without hacks (the difficulty is because AUFS does not have its own block device. Visit http://aufs.sourceforge.net/aufs.html for in-depth information on how AUFS works). At the time of writing this book, Docker users who need disk quota opt for the devicemapper driver, which will allow each container to use up to a certain amount of disk space. But a more generic mechanism that works across storage drivers is under progress and may be introduced in future releases.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.