OBP-Docker icon indicating copy to clipboard operation
OBP-Docker copied to clipboard

Can not use Version 3 with latest docker-compose

Open ssabat opened this issue 6 years ago • 0 comments

Hi,

I am trying to run OBP-Docker using docker-compose with latest GIT PULL and then using docker-compose command.

I get following error.

root@74b9da9a0246:~/OBP-Docker/compose# docker-compose -v docker-compose version 1.8.0, build unknown root@74b9da9a0246:~/OBP-Docker/compose# docker-compose up ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a version of "2" (or "2.0") and place your service definitions under the services key, or omit the version key and place your service definitions at the root of the file to use version 1. For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/ root@74b9da9a0246:~/OBP-Docker/compose#

Looks like, yml files needs to be refactored as per above suggestion.

Thanks,

Sunil Sabat

ssabat avatar Sep 28 '19 09:09 ssabat