Code Monkey home page Code Monkey logo

Comments (5)

regisb avatar regisb commented on August 16, 2024

Hi @macagua! Thanks for taking the time to open this issue.

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/

I believe the answer to your problem is right there. What is your version of docker-compose? ($ docker-compose --version) Can you try to upgrade?

from tutor.

macagua avatar macagua commented on August 16, 2024

Hi @regisb no problem

Mi docker-compose version is:

$ docker-compose --version
docker-compose version 1.8.0, build unknown

from tutor.

regisb avatar regisb commented on August 16, 2024

You should upgrade your version of docker and docker-compose. Procedure differs depending on your OS. Please follow the instructions here:

https://docs.docker.com/install/
https://docs.docker.com/compose/install/

from tutor.

macagua avatar macagua commented on August 16, 2024

@regisb

Executing the following commands I can upgrade Compose and fixed the issue:

$ curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
$ chmod +x /usr/local/bin/docker-compose

Thanks!

from tutor.

regisb avatar regisb commented on August 16, 2024

Awesome!

from tutor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.