Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose does not work with cgroupsv2 #382

Open
calebbrown opened this issue Sep 30, 2022 · 2 comments
Open

docker-compose does not work with cgroupsv2 #382

calebbrown opened this issue Sep 30, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@calebbrown
Copy link
Contributor

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: compose-spec/compose-spec#148, docker/compose#8167

@calebbrown calebbrown added the bug Something isn't working label Sep 30, 2022
@calebbrown
Copy link
Contributor Author

A work around is to create/edit /etc/docker/daemon.json with the following:

{
    "default-cgroupns-mode": "host"
}

@calebbrown
Copy link
Contributor Author

Added docs in #404

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant