mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
docker-container: support --driver-opt cgroup-parent=...
This allows the parent cgroup to be customised, which allows resource limits to be imposed on build containers separately from "user" containers. Signed-off-by: David Scott <dave@recoil.org>
This commit is contained in:
@ -130,6 +130,7 @@ Passes additional driver-specific options. Details for each driver:
|
||||
- `docker-container`
|
||||
- `image=IMAGE` - Sets the container image to be used for running buildkit.
|
||||
- `network=NETMODE` - Sets the network mode for running the buildkit container.
|
||||
- `cgroup-parent=CGROUP` - Sets the cgroup parent of the buildkit container if docker is using the "cgroupfs" driver.
|
||||
- Example:
|
||||
|
||||
```console
|
||||
|
Reference in New Issue
Block a user