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

Add ability to configure docker containers via equvalient of --cpus flag #1359

Open
Mondonno opened this issue Feb 8, 2025 · 1 comment
Open
Labels
awaiting-upstream The issue cannot be resolved without action in another repository (may be owned by Pulumi).

Comments

@Mondonno
Copy link

Mondonno commented Feb 8, 2025

At the moment Pulumi does not support to change the allowed amount of CPUs to be allocated for the container, it is only possible to set CPU Shares and CPU Sets.

See: https://docs.docker.com/engine/containers/resource_constraints/#cpu

It is much needed to have the ability to set CPUs since without it is not possible to constrain the container usage of CPU.

@pulumi-bot pulumi-bot added the needs-triage Needs attention from the triage team label Feb 8, 2025
@rquitales
Copy link
Member

Thanks for this suggestion. Since this is a bridged Terraform provider, feature requests should be made against https://github.com/kreuzwerker/terraform-provider-docker. Any updates to the upstream provider will be picked up by our provider.

@rquitales rquitales added awaiting-upstream The issue cannot be resolved without action in another repository (may be owned by Pulumi). and removed needs-triage Needs attention from the triage team labels Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-upstream The issue cannot be resolved without action in another repository (may be owned by Pulumi).
Projects
None yet
Development

No branches or pull requests

3 participants