mandatoryprogrammer / mandatoryprogrammer/xsshunter-express

ERROR: Version in "./docker-compose.yml" is unsupported.

Open
#8 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
2.4k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

im getting the below error while doing docker-compose up -d postgresdb

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 supported version (e.g "2.2" or "3.3") 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/

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting docker-compose.yml and the Compose file version used by the reported `docker-compose up -d postgresdb` command. Compare that version with the supported formats in the linked Compose documentation; done means the file is accepted by the reported Compose setup and the postgresdb service can be started.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker-compose
Domain
devops
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.