Docker Compose v1.25.0 Release Notes

Release Date: 2019-05-24 // almost 5 years ago
  • 🏁 If you're a Mac or Windows user, the best way to install Compose and keep it up-to-date is Docker Desktop for Mac and Windows.

    🐳 Docker Desktop will automatically install the latest version of Docker Engine for you.

    ⬆️ Alternatively, you can use the usual commands to install or upgrade Compose:

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

    👀 See the install docs for more install options and instructions.

    Compose file format compatibility matrix

    🐳 | Compose file format | Docker Engine | | --- | --- | | 1 | 1.9.0+ | | 2.0 | 1.10.0+ | | 2.1 | 1.12.0+ | | 2.2, 3.0, 3.1, 3.2 | 1.13.0+ | | 2.3, 3.3, 3.4, 3.5 | 17.06.0+ | | 2.4 | 17.12.0+ | | 3.6 | 18.02.0+ | | 3.7 | 18.06.0+ |

    🔄 Changes

    🔋 Features

    ➕ Add tag docker-compose:latest

    ➕ Add docker-compose:<version>-alpine image/tag

    ➕ Add docker-compose:<version>-debian image/tag

    ⬆️ Bumped docker-py 4.0.1

    👌 Supports requests up to 2.22.0 version

    ⬇️ Drops empty tag on build:cache_from

    🐳 Dockerfile now generates libmusl binaries for alpine

    Only pull images that can't be built

    Attribute scale can now accept 0 as a value

    ➕ Added --quiet build flag

    ➕ Added --no-interpolate to docker-compose config

    ⬆️ Bump OpenSSL for macOS build (1.1.0j to 1.1.1a)

    ➕ Added --no-rm to build command

    ➕ Added support for credential_spec

    Resolve digests without pulling image

    ⬆️ Upgrade pyyaml to 4.2b1

    🚚 Lowered severity to warning if down tries to remove nonexisting image

    👉 Use improved API fields for project events when possible

    ⚡️ Update setup.py for modern pypi/setuptools and remove pandoc dependencies

    ✂ Removed Dockerfile.armhf which is no longer needed

    🛠 Bugfixes

    🛠 Fixed --remove-orphans when used with up --no-start

    🛠 Fixed docker-compose ps --all

    🛠 Fixed depends_on dependency recreation behavior

    🛠 Fixed bash completion for build --memory

    🛠 Fixed misleading warning concerning env vars when performing an exec command

    Fixed failure check in parallel_execute_watch

    🛠 Fixed race condition after pulling image

    🛠 Fixed error on duplicate mount points.

    🛠 Fixed merge on networks section

    Always connect Compose container to stdin

    🛠 Fixed the presentation of failed services on 'docker-compose start' when containers are not available

    🚀 Thanks to @shin-, @tuttieee, @slowr, @akshitgrover, @bfirsh, @joeweoj, @joakimr-axis, @Inconnu08, @orisano, @GeyseR, @albers, @collin5, @kudos, @mikesir87, @CatEars, @rumpl, @ijc, @chris-crone, @ulyssessouza for contributing to this release!

    Integrity check

    Binary name SHA-256 sum
    🐳 docker-compose-Darwin-x86_64
    🐧 docker-compose-Linux-x86_64
    🏁 docker-compose-Windows-x86_64.exe