Skip to content

Instantly share code, notes, and snippets.

@sjainit
Created December 15, 2019 07:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sjainit/0303fcd54cec872eb3d1c43b696a2426 to your computer and use it in GitHub Desktop.
Save sjainit/0303fcd54cec872eb3d1c43b696a2426 to your computer and use it in GitHub Desktop.
Trying to run the passed command with docker-compose...
ERROR: Version in "./docker/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/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment