Docker-compose

Latest version: v1.29.2

Safety actively analyzes 702662 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

2.0.1

⚠️ **Compose v2 architecture and installation instructions differ from v1, see [README.md](https://github.com/docker/compose#where-to-get-docker-compose).**

Features:

- Added support for running the plugin as a standalone program. Like `docker-compose` v1 would behave
- compute sha256 checksums while releasing

Bugfixes:

- Allow combination of --status and --services
- Fix build cache_from option
- Fix `compose up` on README.md
- Make `--status` a multi-flag
- No longer fail when inferred `.env` is a directory

Misc

- Stop ticker after use on ttyWriter
- Use `uname -m` for cross platform suffixes
- Add note about installing it system-wide
- Bump containerd 1.5.5

2.0.0

⚠️ **Compose v2 architecture and installation instructions differ from v1, see [README.md](https://github.com/docker/compose#where-to-get-docker-compose).**
For backward compatibility with docker-compose v1.x, consider installing https://github.com/docker/compose-switch

Features:

- added support for `COMPOSE_IGNORE_ORPHANS`
- `compose exec` and `compose down` don't need the original compose file (require `--project-name`)
- render port ranges as a group
- container names use hyphens to produce a valid hostname
- add support for `scale=0`
- introduce `--compatibility` to support smooth(er) transition from V1
- introduce `compose config --output` flag (defaults to stdout)
- add support for `build.network` and `build.extrahosts`
- ntroduce `compose up --attach`
- fixes parsing compose file variables
- added support for multiline values in `.env` file

Bugfixes:

- `compose run` can receive stdin from another piped command
- process local seccomp file set by `security_opt`
- fix support for `compose run --label`
- stop only the services that have been ran by `compose up` command
- `compose config` escape `$` signs to produce a valid compose file
- fixed a concurrency issue with logs
- apply configured `container_name` when recreating containers
- `compose run --volume` (mistakely renamed --volumes)
- support `--entrypoint=""` and `entrypoint: ""` to override Dockerfile's `ENTRYPOINT`
- stop `compose log --follow` on `SIGINT`
- fixed support for `bytes` values in `compose.yaml`

2.0.0rc.3

Features:
- Compose v2 is now hosted on github.com/docker/compose

Bugfixes:
- fix go panic on downscale using `compose up --scale`
- fix race condition in `compose run --rm` capturing exit code
- fix support for `volumes_from` in `compose run`
- multiple fixes regarding variables in compose.yaml and environment variables
- only build services set by `compose build SERVICE...`
- consider `volumes_from` when computing dependent services

1.29.2

[List of PRs / issues for this release](https://github.com/docker/compose/milestone/59?closed=1)

Miscellaneous

- Remove prompt to use `docker compose` in the `up` command

- Bump `py` to `1.10.0` in `requirements-indirect.txt`

1.29.1

[List of PRs / issues for this release](https://github.com/docker/compose/milestone/58?closed=1)

Bugs

- Fix for invalid handler warning on Windows builds

- Fix config hash to trigger container recreation on IPC mode updates

- Fix conversion map for `placement.max_replicas_per_node`

- Remove extra scan suggestion on build

1.29.0

[List of PRs / issues for this release](https://github.com/docker/compose/milestone/56?closed=1)

Features

- Add profile filter to `docker-compose config`

- Add a `depends_on` condition to wait for successful service completion

Miscellaneous

- Add image scan message on build

- Update warning message for `--no-ansi` to mention `--ansi never` as alternative

- Bump docker-py to 5.0.0

- Bump PyYAML to 5.4.1

- Bump python-dotenv to 0.17.0

Page 2 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.