- bullseye 20210101-1
- testing 20221223-3
- unstable 20221223-3
- experimental 20221223-5
CONTAINER-LIMIT(1) | Open Infrastructure | CONTAINER-LIMIT(1) |
NAME¶
container-limit - Limit ressources of a container
SYNOPSIS¶
container limit [OPTIONS]
DESCRIPTION¶
The container limit command limits ressources available to a container at runtime.
OPTIONS¶
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
EXAMPLES¶
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:
SEE ALSO¶
HOMEPAGE¶
More information about compute-tools and the Open Infrastructure project can be found on the homepage at https://open-infrastructure.net.
CONTACT¶
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.
AUTHORS¶
compute-tools were written by Daniel Baumann <daniel.baumann@open-infrastructure.net> and others.
20210101 | compute-tools |