Hi, I edited a compose file for my app and added a healthcheck option. But whenever I try running docker-compose up
I get the following error.
ERROR: The Compose file './docker-compose.yml' is invalid because:
Unsupported config option for balrogadmin: 'healthcheck'
My docker configurations are:
docker-compose --version
docker-compose version 1.11.2, build dfed245
docker --version
Docker version 17.03.0-ce, build 3a232c8
I had the same issue - I was able to fix it by changing the version in the docker-compose.yml file to version: '2.1'
.
Yeah, Changing the version worked. Thanks @glookie1
Most helpful comment
I had the same issue - I was able to fix it by changing the version in the docker-compose.yml file to
version: '2.1'
.