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 installation problem #22

Open
leicray opened this issue Nov 7, 2019 · 1 comment
Open

Docker installation problem #22

leicray opened this issue Nov 7, 2019 · 1 comment

Comments

@leicray
Copy link
Collaborator

leicray commented Nov 7, 2019

I am unable to build docker using

$ docker-compose build --no-cache

It generates the error message:

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 serviceskey, or omit theversion 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/

Any ideas?

@Peter-J-Freeman
Copy link
Contributor

The version of docker-compose in the docker-compose.yml is version 3.

I suspect you need to update your installation of docker and docker compose to the latest version? Version 3 is supported with docker 1.13.0+ .

upgrade docker-compose for windows, mac and linux.

Updating Docker is usually most easily performed via a desktop app. Install docker app. Select between windows, mac and linux on the left of the screen.

Updating these tools ought to fix the problem

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

No branches or pull requests

2 participants