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

cgroup property is not allowed when using bake command with docker compose as input #2548

Closed
noorul opened this issue Jun 23, 2024 · 3 comments

Comments

@noorul
Copy link

noorul commented Jun 23, 2024

Description

I am using cgroup: private property in docker-compose. This support was added in the spec via compose-spec/compose-spec#292. But bake command fails to parse it. I get the following error

Additional property cgroup is not allowed

Versions:

Host OS: Ubuntu 22.04
Docker CE: 26.1.4-1ubuntu.22.04jammy
Docker Compose Plugin: 2.27.1-1ubuntu.22.04jammy
Docker Buildx Plugin: 0.14.1-1ubuntu.22.04jammy

@noorul noorul added kind/enhancement New feature or request status/triage labels Jun 23, 2024
@tonistiigi
Copy link
Member

@crazy-max @ndeloof How is this possible? Looks like a relatively old PR and we are using compose v2.1.2

@crazy-max
Copy link
Member

Seems to work fine with this new test: #2555

@noorul Can you share your compose file and also the output of docker buildx version please?

@crazy-max crazy-max added status/needs-more-info and removed kind/bug Something isn't working labels Jun 25, 2024
@noorul
Copy link
Author

noorul commented Jun 26, 2024

My bad! Even though I was installing the latest from the docker apt repo, I had old installation instructions in the Dockerfile. Sorry for the noise. I appreciate the help!

@noorul noorul closed this as completed Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants