Docker-compose.yml version 2.3


#1

i’m using the machine image circleci/classic:latest, and it’s breaking on the docker-compose yaml file version. is there any way to fix this?


#2

How is it breaking? Please offer as much detail as you can.


#3

it says outright it doesn’t support docker-compose yaml 2.3 (not necessarily any particular version of docker-compose itself). so i guess the question is more, is there a pre-set machine that supports [the docker-compose version that supports] that yaml version?

or should i be looking into a more custom config for the machine?


#4

What says this? :smiley_cat:

If you are relying on a pre-installed version of Docker or Docker Compose, you can always upgrade it to the latest version. The one in the OS repo may be more recent, or you can add the Docker repo to the machine one, and then update to that (latest stable).