Docker Compose v1.8.0 Release Notes

Release Date: 2016-06-14 // almost 8 years ago
  • 💥 Breaking Changes

    • 🐳 As announced in 1.7.0, docker-compose rm now removes containers created by docker-compose run by default.

    • 0️⃣ Setting entrypoint on a service now empties out any default command that was set on the image (i.e. any CMD instruction in the Dockerfile used to build it). This makes it consistent with the --entrypoint flag to docker run.

    🆕 New Features

    • ➕ Added docker-compose bundle, a command that builds a bundle file to be consumed by the new Docker Stack commands in Docker 1.12.

    • ➕ Added docker-compose push, a command that pushes service images to a registry.

    • 👍 Compose now supports specifying a custom TLS version for interaction with the Docker Engine using the COMPOSE_TLS_VERSION environment variable.

    🐛 Bug Fixes

    • 🛠 Fixed a bug where Compose would erroneously try to read .env at the project's root when it is a directory.

    • 🐳 docker-compose run -e VAR now passes VAR through from the shell to the container, as with docker run -e VAR.

    • 👌 Improved config merging when multiple compose files are involved for several service sub-keys.

    • 🛠 Fixed a bug where volume mappings containing Windows drives would sometimes be parsed incorrectly.

    • 🛠 Fixed a bug in Windows environment where volume mappings of the host's root directory would be parsed incorrectly.

    • 🛠 Fixed a bug where docker-compose config would output an invalid Compose file if external networks were specified.

    • 🛠 Fixed an issue where unset buildargs would be assigned a string containing 'None' instead of the expected empty value.

    • 🛠 Fixed a bug where yes/no prompts on Windows would not show before receiving input.

    • 🛠 Fixed a bug where trying to docker-compose exec on Windows without the -d option would exit with a stacktrace. This will still fail for the time being, but should do so gracefully.

    • 🛠 Fixed a bug where errors during docker-compose up would show an unrelated stacktrace at the end of the process.

    • 🐳 docker-compose create and docker-compose start show more descriptive error messages when something goes wrong.