phanteh
phanteh

Reputation: 517

Docker compose version 2.1+ on mac

On the beta release of the docker app, you get docker-compose version 1.11.1, which only supports file version 2.0 (that is, the docker-compose file has 'version: "2"' at the top).

There are a few features that I would love to use from 2.1+, but it seems docker for mac is a bit behind.

Is there a way for me to use 2.1+ on a mac, or am I just going to have to wait for the 1.12 docker-compose release on mac?

Upvotes: 0

Views: 2144

Answers (1)

Matt
Matt

Reputation: 74670

The latest Docker for Mac (non beta) supports the 2.1 compose file features.

You may be confusing Docker Compose and Docker Engine versions.

A version 2.1 compose file requires a Docker Engine running 1.12.0+ and I can't find a documented Compose version requirement, but it works with Docker Compose 1.10+ here.

Compose client

docker-compose -v

Docker client

docker -v

Docker daemon/server

docker info | grep ^Server

Upvotes: 1

Related Questions