Skip to content
New issue

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

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

Already on GitHub? # to your account

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

Open
rectinajh opened this issue Oct 29, 2018 · 1 comment
Open

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

rectinajh opened this issue Oct 29, 2018 · 1 comment

Comments

@rectinajh
Copy link

rectinajh commented Oct 29, 2018

ubuntu@VM-0-16-ubuntu:~/boinc-server-docker$ docker-compose pull
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/

ubuntu@VM-0-16-ubuntu:~/boinc-server-docker$ docker version
Client:
 Version:      17.03.2-ce
 API version:  1.27
 Go version:   go1.6.2
 Git commit:   f5ec1e2
 Built:        Thu Jul  5 23:07:48 2018
 OS/Arch:      linux/amd64
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.27/version: dial unix /var/run/docker.sock: connect: permission denied
ubuntu@VM-0-16-ubuntu:~/boinc-server-docker$ docker-compose version
docker-compose version 1.8.0, build unknown
docker-py version: 1.9.0
CPython version: 2.7.12
OpenSSL version: OpenSSL 1.0.2g  1 Mar 2016

what should i do?

@marius311
Copy link
Owner

Are you using a version of docker-compose (note this is different than docker) which is compatible with the requirements listed here, and if so, what's the the output of docker-compose --version ?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants