Skip to content

[Request]: Add container compose #1846

Open

Description

@kumar8074

Feature or enhancement request details

Please add ability to orchestrate multi-container system.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. kumar8074 commented on Jun 27, 2026

    @kumar8074
    Author

    Yeah, But official support would be better. Man I started coding it myself, tokens wasted 🙆🏼‍♂️🙆🏼‍♂️

  2. afbjorklund commented on Jun 27, 2026

    @afbjorklund
  3. stephenlclarke commented on Jun 27, 2026

    @stephenlclarke
    Contributor

    Official support would be great. I need this functionality now... hence why I am pushing on. A bit annoyed I need my own apple/container... because of missing upstream functionality. But I am trying to give that code back to Apple in bits and pieces so as not to overload them and remove my dependency on the custom code. I originally started off making container support all the docker surfaces and just have my container-compose offload to container. Is was a nice split for the handoff of functionality. But the Apple guys aren't keen on that approach so almost all the functionality is now in my app.
    It's just a pain to ensure I keep on top of the upstream container and containerization changes.

  4. Jakeshadow commented on Jun 30, 2026

    @Jakeshadow

    There's a community tool called Container-Compose that provides docker-compose-like functionality for Apple's container CLI: https://github.com/containers/container-compose

    It's not official, but it handles the basic up/down/logs workflow. We covered the current state of compose alternatives (including shell script patterns, health checks, and the timeline for native support) at maccontainer.dev/compose-alternative/ — includes direct links to the relevant GitHub issues tracking compose support.

    The short version: shell scripts are the bridge for now. Container-Compose covers the common cases. Native compose is tracked in this issue but no ETA from Apple.

  5. andrew-waters commented on Sep 16, 2026

    @andrew-waters

    Hi, I'm the author of Orchard, a native macOS app for container. I wanted this as much as anyone, and after #239 and discussion #194 it was clear upstream is not taking it, so I have built it the way the maintainers suggested, as a plugin: https://compose.andon.dev

    container compose up

    That is the part I would argue for first. It is a plugin for the container you already have: a binary and a config.toml in the plugin directory, discovered by the stock CLI from Apple, built against released apple/container (1.4.1+). Nothing to run instead of container, no second tool to learn the flags of, and no patched runtime underneath it. container compose up is a subcommand in the same way container run is.

    The second half of that is where the seam sits. Parsing the spec and planning the work are three libraries that depend on nothing but a YAML parser: they cannot start a container and do not link anything that can. Only the executable links ContainerAPIClient and carries a plan out over XPC. So a plan is a value you can compute without being able to run anything, which means it can be tested against fixtures and shown to you before it runs. Orchard links that same planner rather than shelling out to the plugin, so the app and the CLI cannot disagree about what up will do, and anyone building another tool can depend on ComposePlanner and inherit a planner rather than a runtime.

    What it cannot honour it lists before the first run, with the line number, split into what this runtime makes impossible (restart, #2142) and what is not built yet. Worth saying @Mcrich23 and @stephenlclarke both got here before me and took different routes, both worth a look.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions