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

Error --- New Server - Ubuntu 16 #10

Open
gshafer opened this issue May 6, 2020 · 1 comment
Open

Error --- New Server - Ubuntu 16 #10

gshafer opened this issue May 6, 2020 · 1 comment

Comments

@gshafer
Copy link

gshafer commented May 6, 2020

I fired up a brand new server, but got this error:

TASK [AdnanHodzic.containerized-wordpress : Run docker-compose up] **********************************************************
fatal: [almontecondo.com]: FAILED! => {"changed": true, "cmd": ["docker-compose", "-f", "docker-compose.yml", "up", "-d"], "delta": "0:00:00.331399", "end": "2020-05-06 18:19:46.734953", "msg": "non-zero return code", "rc": 1, "start": "2020-05-06 18:19:46.403554", "stderr": "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.\nFor more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/", "stderr_lines": ["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/"], "stdout": "", "stdout_lines": []}

@AdnanHodzic
Copy link
Owner

I believe this is related to old Docker version for Ubuntu 16.04 release. There's 2 LTS releases after Ubuntu 16.04, Ubuntu 18.04 and Ubuntu 20.04 so please try using one of the latter ones.

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