Error Decoding CPU value in "docker-compose.yml"
Closed this issue · 1 comments
tahaafarooq commented
Hello I have tried running the docker container instead I received an error that was saying:
1 error(s) decoding: * 'deploy.resources.limits.cpus' expected type 'string', got unconvertible type 'float64', value: '0.5'
seems like maybe the version of the docker that is set doesn't decode the cpus value as float instead it decodes only string type.
tahaafarooq commented
I have solved it by changing the types of values of cpus
from float 0.50
to '0.50'
. I have also created a pull request to sort this issue.
Thanks.