GithubHelp home page GithubHelp logo

Comments (6)

missinglink avatar missinglink commented on August 21, 2024 1

You should be safe to change the version number at the top of the docker-compose.yml from 3 to 2.

I'll investigate changing that in the repo.

Otherwise you can upgrade your docker-compose command to a version that supports configs written for version 3.

from docker.

orangejulius avatar orangejulius commented on August 21, 2024 1

oh hey Aidan! 👋

Let us know if lowering the version worked. I think adoption of newer versions of docker compose hasn't really happened yet, and we aren't using it for anything. Maybe we should go back down.

from docker.

afeld avatar afeld commented on August 21, 2024

Yeah,

Compose file format 3.0 was first introduced in Compose release 1.10.0

https://docs.docker.com/compose/compose-file/#compose-and-docker-compatibility-matrix

from docker.

sophia-xll avatar sophia-xll commented on August 21, 2024

@Defozo Hello,Defozo. How did you solve this problem? I have the same questions, too.
Did you just change verison of docker-compose.yml from 3 to 2?
Or upgrade your docker-compose command ?
Or upgrade docker ?

from docker.

missinglink avatar missinglink commented on August 21, 2024

See https://docs.docker.com/compose/compose-file/compose-versioning/ for more information

from docker.

missinglink avatar missinglink commented on August 21, 2024

I'm going to close this issue, we don't plan to support legacy versions of docker-compose, the costs are simply too high for an open-source project to maintain, plus we would lose out on all the new features.

The original issue related to docker-compose 1.8.0 which was released 27 Jul 2016.
Version 3 of the YAML spec has been supported since 1.13.0+, since release 2 May 2017.

At the time of writing it is 1 March 2019, please upgrade your versions of Docker and docker-compose and try again.

from docker.

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.