docker-pterodactyl icon indicating copy to clipboard operation
docker-pterodactyl copied to clipboard

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

Open stormyark opened this issue 1 year ago • 1 comments

After running the docker-compose up -d command in /_base/compose i get this error:

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 `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/

stormyark avatar May 18 '24 08:05 stormyark

You might be running a very old version of Docker and/or docker compose.

If you can't update docker or docker compose to newer version, then you could try specifying a lower version in the docker-compose.yml file.

EdyTheCow avatar May 18 '24 17:05 EdyTheCow