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

Version in "./docker-compose.yml" is unsupported #1480

Closed
mtenus opened this issue Apr 11, 2018 · 5 comments
Closed

Version in "./docker-compose.yml" is unsupported #1480

mtenus opened this issue Apr 11, 2018 · 5 comments
Labels

Comments

@mtenus
Copy link

mtenus commented Apr 11, 2018

Info:

  • Docker version Docker version 18.03.0-ce, build 0520e24:
  • Laradock commit 0c41fce:
  • System info Linux:
  • System info Ubuntu 16.04:

Issue:

docker-compose ps

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/

When I've replaced version 3 with 2 it started to work.

@guicara
Copy link

guicara commented Apr 17, 2018

Hello,

I have the same issue with a fresh install of Laradock.
OS: Linux Mint 18.3 Sylvia.

Docker version: 18.03.0-ce, build 0520e24
Docker compose version: 1.8.0

Thanks,

Edit: an update of Docker Compose resolve the problem.

sudo apt-get -y install python3-pip
sudo pip install setuptools docker-compose

@mkantautas
Copy link

Any news with this?

@nicholascm
Copy link

nicholascm commented Jul 8, 2018

@neorganic just make sure you are running a recent version of docker-compose...updating fixed for me. using v 1.18.0 on Ubuntu 16.04

@stale
Copy link

stale bot commented Feb 2, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale label Feb 2, 2020
@stale
Copy link

stale bot commented Feb 23, 2020

Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.

@stale stale bot closed this as completed Feb 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants