CONTAINER-LIMIT(1) | Open Infrastructure | CONTAINER-LIMIT(1) |
container-limit - Limit ressources of a container
container limit [OPTIONS]
The container limit command limits ressources available to a container at runtime.
The following container options are available:
-n, --name=NAME
--blockio-device-weight=DEVICE WEIGHT
--blockio-read-bandwidth=DEVICE BYTES
-b, --blockio-weight=WEIGHT
--blockio-write-bandwidth=DEVICE BYTES
-c, --cpu-quota=QUOTA
--cpu-shares=SHARES
-m, --memory-limit=BYTES
-t, --tasks-max=NUMBER
Set blockio weight for the example.net container:
Set CPU quota for the example.net container:
Set memory limit for the example.net container to 1GB:
Set tasks max for the example.net container to 100:
More information about compute-tools and the Open Infrastructure project can be found on the homepage at https://open-infrastructure.net.
Bug reports, feature requests, help, patches, support and everything else are welcome on the Open Infrastructure Software Mailing List <software@lists.open-infrastructure.net>.
Debian specific bugs can also be reported in the Debian Bug Tracking System at https://bugs.debian.org.
compute-tools were written by Daniel Baumann <daniel.baumann@open-infrastructure.net> and others.
20210101 | compute-tools |