Merge pull request #782 from djs55/cgroup-parent

docker-container: place build containers in a separate cgroup
This commit is contained in:
Tõnis Tiigi
2021-09-30 09:06:29 -07:00
committed by GitHub
3 changed files with 16 additions and 4 deletions

View File

@ -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. Defaults to `/docker/buildx`.
- Example:
```console