Skip to content

✨ Identify bugs/friction and remove them to make apple/container support first class #10666

Closed

Description

@jpadams

We have preliminary docs here https://docs.dagger.io/ci/integrations/apple-container/
but there are a lot of improvements to be made to make the DX of using https://github.com/apple/container great with Dagger.

Some of these are more general for all container runtime alternatives to docker such as nerdctl and podman.

Some of these will be specific to container.

You can help by listing any bugs, friction, or weirdness you experience.

Unknowns:

  • how well does local content-addressed caching work?
  • how about cache volumes?
  • how stable is the engine under container?
  • optimal settings that should be in engine.json
  • profiles for memory and cpu for container run of Dagger Engine for typical workloads, how to test/profile/monitor
  • what are cpu/mem of standard vm created
  • garbage collection work?

Known issues:

  • we need more native support for engine lifecycle since we usually rely on docker ps and there is no container ps CLI equiv, only container ls (so symlink tricks don't work for that bit: docker->container)
  • with standard vm config, some large dagger workflows may OOM quit (pretty sure) or be very slow

related #10676

Activity

  1. linked a pull request that will close this issueSupport for more driver types #10714on Jul 11, 2025
  2. jpadams commented on Jul 11, 2025

    @jpadams
    ContributorAuthor

    To mitigate instances that are too small, can specify number of CPUs and amount of memory.

    e.g.

    container run --rm -d \
          --memory 16G \
          --cpus 4 \
          --name dagger-engine-custom \
          registry.dagger.io/engine:v0.18.12
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions