You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We used docker-compose 2.25.0 before (debian 11 default package), and after the upgrade to 2.26.1 (current debian 11 stable package as of last night) our stack deployments fail with something like "services.agent.deploy.resources.limits.cpus must be a string"
We usually do something like docker compose config | .. | docker stack deploy, this worked with 2.25.0 but does not work with 2.26.1 anymore.
Trying to deploy this via docker stack deploy will result in "services.agent.deploy.resources.limits.cpus must be a string" and the deployment will fail.
Compose Version
Docker Compose version v2.26.1
docker-compose version
-bash: docker-compose: command not found
Description
We used docker-compose 2.25.0 before (debian 11 default package), and after the upgrade to 2.26.1 (current debian 11 stable package as of last night) our stack deployments fail with something like "services.agent.deploy.resources.limits.cpus must be a string"
We usually do something like docker
compose config | .. | docker stack deploy
, this worked with 2.25.0 but does not work with 2.26.1 anymore.I checked the compose spec and it still seems to allow "number", "string": https://github.com/compose-spec/compose-spec/blob/master/schema/compose-spec.json#L519
Steps To Reproduce
config:
Trying to deploy this via docker stack deploy will result in "services.agent.deploy.resources.limits.cpus must be a string" and the deployment will fail.
Compose Version
Docker Environment
The text was updated successfully, but these errors were encountered: