-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
Description
System Info
OSX 10.15.6 (19G2021)
Docker version 19.03.12, build 48a66213fe
docker-compose version 1.27.2, build 18f557f9
Installed via https://www.docker.com/products/docker-desktop
Problem
I always use .env file to setup docker-compose.yml
and now an error occurred specifically in this property: deploy.resources.reservations.cpus
The example is here:
https://github.com/lagden/compose-issue
See below what happens:
Steps
- Run
docker-compose up - Problem: Error caused by
deploy.resources.reservations.cpusvalidation - Comment property
deploy.resources.reservations.cpusindocker-compose.yml(line 15) - Run again
docker-compose up - OK
