Version in docker-compose.yml is unsupported
See original GitHub issueWhen following the quick-start guide, at step ./docker/quickstart.sh
I get:
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 supported version (e.g "2.2" or "3.3") and place your service definitions under the
serviceskey, or omit the
versionkey 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/
The compose files are 3.8
, so I upgraded my docker to 19.03.13
to ensure compatibility. This didn’t work.
Possible resulution: Downgrade docker-compose.yml
and docker-compose.override.yml
to 3.7
, this worked for me (so far).
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Ask Question - Stack Overflow
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 supported ......
Read more >Version in docker-compose.yml is unsupported #2020 - GitHub
The compose files are 3.8 , so I upgraded my docker to 19.03.13 to ensure compatibility. This didn't work. Possible resulution: Downgrade docker...
Read more >To run 3.9 version on ubuntu VM - Docker Community Forums
Version in “./docker-compose.yml” is unsupported. You might be seeing this error because you're using the wrong Compose file version.
Read more >Resolve Docker's 'Version in docker-compose.yml is ...
Solution · Upgrade the Docker engine too. · Try to downgrade. Specify an older docker-compose file version. For instance, if you are still...
Read more >Rails Long Term Support - makandra cards
You can fix this issue by upgrading docker-compose Archive to the newest version (just download the new script from the install section). Make ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The issue was caused by too low version of
docker-compose
=1.25.0
, which is unfortunately the highest version Ubuntu supports on any of their current releases, includingfocal (20.04LTS)
,groovy (20.10)
andhirsute
.For reference if anyone needs it: I’m on
focal (20.04LTS)
withdocker-ce
installed fromdeb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable
anddocker-compose
installed from Ubuntu universe.Upgraded
docker-compose
the official docker/non-Debian-way:Note that
/usr/bin/docker-compose
is still the old version.@jplaisted I think you are right, here’s a minimal example
docker.compose.yml
:version:
3.7
works.