Skip to content

Eliminate hardcoded filename#66

Open
purp wants to merge 5 commits intoMcrich23:mainfrom
geekdaily:eliminate-hardcoded-filename
Open

Eliminate hardcoded filename#66
purp wants to merge 5 commits intoMcrich23:mainfrom
geekdaily:eliminate-hardcoded-filename

Conversation

@purp
Copy link

@purp purp commented Mar 18, 2026

Currently, container-compose has a hard-coded "docker-compose.yml" string in a notice it emits. This is confusing when your file isn't named that, to humans and bots like Claude.

This pull request has five commits:

  • e34ff21 and 478ccd0 introduce a test and a fix for the core problem.
  • 3737dde removes refs to docker-compose.yml and "Docker Compose" from comments and other strings where it's more proper to talk about compose files instead.
  • 8d92549 rewrites the README a bit in light of the answers in container-compose does not like Docker Compose-style environment config #65
  • 4d0ddbd modifies the contribution section of README.md as well as CONTRIBUTING.md to boost up the idea of adding tests, which many PRs seem to forget.
    • While not strictly necessary, it sure helps the burden of future maintainers

NOTE: While Claude was used to help me understand how to do some things in Swift, all code here passed directly through my fingers.

Copy link
Owner

@Mcrich23 Mcrich23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love this PR a lot. I think it's definitely a step in the right direction of adding/updating documentation.

Let's get this merged soon!

# Container-Compose

Container-Compose brings (limited) Docker Compose support to [Apple Container](https://github.com/apple/container), allowing you to define and orchestrate multi-container applications on Apple platforms using familiar Compose files. This project is not a Docker or Docker Compose wrapper but a tool to bridge Compose workflows with Apple's container management ecosystem.
**Container-Compose is a (mostly) drop-in replacement for `docker-compose` that orchestrates [Apple Containers](https://opensource.apple.com/projects/container/) using the [`container`](https://github.com/apple/container) command.** It brings (currently limited) Docker Compose support, allowing you to define and orchestrate multi-container applications on Apple platforms using familiar compose files. This project aims to bridge Compose workflows with Apple's container management ecosystem. _It is not a Docker or Docker Compose wrapper._
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One interesting thing to note is that it does not wrap around the command executable itself but rather links in the commands as a shared library. I don't know if we want to make that distinction here but it's something to consider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants