# Migration Context: Docker Compose v0.5 -> v1 # Generated by Changelogs.us: 2026-11-30T03:04:49.949600+00:00 # Target Version: 1.29.2 # Upgrade Command: N/A # Breaking Changes: 12 # Security Fixes: 0 ## Executive Summary Upgrading Docker Compose from 0.5 to 1 involves 71 releases with risk rating High. ## Breaking Changes List: - [v1.2.0] - Directories passed to `build`, filenames passed to `env_file` and volume host paths passed to `volumes` are now treated as relative to the _directory of the configuration file_, not the directory that `docker-compose` is being run in. In the majority of cases, those are the same, but if you use the `-f|--file` argument to specify a configuration file in another directory, **this is a breaking change**.: - [v1.3.0] - **This release contains breaking changes, and you will need to either remove or migrate your existing containers before running your app** - see the [upgrading section of the install docs](http://docs.docker.com/compose/install/#upgrading) for details.: - [v1.3.1] If you're upgrading from Compose 1.2.0 or earlier, **this release contains breaking changes** - be sure to read the [1.3.0 release notes](https://github.com/docker/compose/releases/tag/1.3.0).: - [v1.3.2] If you're upgrading from Compose 1.2.0 or earlier, **this release contains breaking changes** - be sure to read the [1.3.0 release notes](https://github.com/docker/compose/releases/tag/1.3.0).: - [v1.3.3] If you're upgrading from Compose 1.2.0 or earlier, **this release contains breaking changes** - be sure to read the [1.3.0 release notes](https://github.com/docker/compose/releases/tag/1.3.0).: - [v1.5.0] This release contains breaking changes.** Note that Compose 1.5.0 requires Docker 1.7.1 or later.: - [v1.5.0] Breaking changes:** With the introduction of variable substitution support in the Compose file, any Compose file that uses an environment variable (`$VAR` or `${VAR}`) in the `command:` or `entrypoint:` field will break.: - [v1.7.0] Breaking Changes** - `docker-compose logs` no longer follows log output by default. It now matches the behaviour of `docker logs` and exits after the current logs: - [v1.8.0] Breaking Changes** - As announced in 1.7.0, `docker-compose rm` now removes containers created by `docker-compose run` by default.: - [v1.9.0] Breaking changes** - When using Compose with Docker Toolbox/Machine on Windows, volume paths are no longer converted from `C:\Users` to `/c/Users`-style by default. To: - [v1.13.0] Breaking changes - `docker-compose up` now resets a service's scaling to its default value.: - [v1.19.0] Breaking changes - On UNIX platforms, interactive `run` and `exec` commands now require: ## Instructions for AI Assistant: When migrating user code from Docker Compose 0.5 to 1, scan for the deprecated APIs and breaking changes above and refactor code to use modern v1.29.2 idioms.