Compose: Unsupported config option: 'healthcheck'

Created on 12 Mar 2017  路  2Comments  路  Source: docker/compose

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
kinquestion

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'.

All 2 comments

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

Was this page helpful?
0 / 5 - 0 ratings