Repository navigation
Upgrading to 1.3.0
When using -f, the default project name now comes from the Compose file’s directory, rather than your working directory. Existing containers keep their previous project name.
If you previously ran container-compose -f deploy/compose.yml from your repository root, use the old project name to find those containers before starting or cleaning up services:
container-compose -p <old-project-name> -f deploy/compose.yml ps --allContinue using -p <old-project-name> or set top-level name: in your Compose file to keep managing the same project. Projects with an explicit name are unaffected by this default-name change.
What's Changed
- Add pull subcommand to fetch service images from a compose file by @adrum in #142
- Add ps subcommand to list project containers by @adrum in #141
- fix(up): resolve relative bind mounts from compose file directory by @SomSamantray in #164
- Fix default context for Compose build mappings by @Mcrich23 in #167
- Fix service label list decoding by @Mcrich23 in #170
- Reject malformed external resource declarations by @Mcrich23 in #168
- Add images subcommand to list service images by @adrum in #173
- feat(build): support build.target for multi-stage Dockerfile builds by @ryan106 in #156
- Honor build.target in up by @Mcrich23 in #174
- Extract the shared container-matching rule onto ComposeProject by @adrum in #172
- Default image pulls to the platform a service will run by @adrum in #171
- docs: describe current Compose support and limits by @Mcrich23 in #169
- Fix service environment precedence and interpolation sources by @Mcrich23 in #177
- Honor Compose healthcheck disable flag by @Mcrich23 in #178
- Never stop or remove another project's container on a name collision by @adrum in #181
- Add -p/--project-name and docker compose project name resolution by @adrum in #187
- Fix variable expansion across Compose YAML by @Mcrich23 in #179
- docs: refresh support details after recent merges by @Mcrich23 in #189
- Update apple/container to 1.7.1 by @Mcrich23 in #188
- Test YAML quoting in healthcheck shell commands by @Mcrich23 in #190
- docs: add version, static test and license badges by @Mcrich23 in #191
New Contributors
- @SomSamantray made their first contribution in #164
Full Changelog: 1.2.0...1.3.0