docker-compose does not work with cgroupsv2
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 912
- Forks
- 74
- PR merge metrics
- No merged PRs in 30d
Description
While researching #378 I discovered that the docker-compose setup in example/e2e does not appear to work under cgroupsv2.
docker run --cgroupns=host does work, but there is no equivalent for use in docker-compose.yml.
This is an issue with support in upstream docker-compose. See: https://github.com/compose-spec/compose-spec/issues/148, https://github.com/docker/compose/issues/8167
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the docker-compose setup in example/e2e and compare its behavior under cgroupsv2 with the reported docker run --cgroupns=host command. Read the linked Compose upstream issues to determine whether a supported configuration or workaround exists; done means the example works under cgroupsv2 without relying on an unresolved upstream change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100