Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose documentation version #10451

Closed
wants to merge 1 commit into from

Conversation

hochan222
Copy link
Contributor

@hochan222 hochan222 commented Mar 14, 2020

hochan@hochan-node:~/Desktop/pfc/dockercompose$ sudo docker-compose up --build
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.

Proposed changes

Due to the evolution of version, '3' no longer matches version in docker-compose.

Unreleased project version (optional)

Related issues (optional)

docker-compose documentation version #10451
docker-compose documentation version #10450
docker-compose documentation version #10449

docker-compose documentation version #10433 [Merged]

@thaJeztah
Copy link
Member

What version of Docker Compose (docker-compose --version) are you running? I tried the example, and didn't get this error

@hochan222 hochan222 closed this Mar 18, 2020
@hochan222 hochan222 deleted the patch-4 branch March 18, 2020 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants