docker compose config
outputs an invalid format for deploy.resources.limits.cpus
#11903
Labels
docker compose config
outputs an invalid format for deploy.resources.limits.cpus
#11903
Description
docker compose config outputs an invalid format.
Input
Output
Note that if you set cpus to
"2.1"
it works as expected.This is probably on how yaml serializes the output.
But maybe when re-importing the outputed file, value should be converted to string first before validated/parsed.
Steps To Reproduce
See above.
Compose Version
Docker Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: