Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

Can not use Version 3 with latest docker-compose  #10

Description

@ssabat

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions