Skip to main content

Apple Container

Dagger can be used with any OCI-compatible container runtime, including container from Apple.

warning

The support for Apple's container is still early and experimental.

Prerequisites​

Ensure that container is installed on your Mac:

$ container system start
...

You can install container using the official instruction at github.com/apple/container.

Example​

$ container ls
ID IMAGE OS ARCH STATE ADDR CPUS MEMORY
$ dagger core version
v0.18.19
$ container ls
container ls
ID IMAGE OS ARCH STATE ADDR CPUS MEMORY
dagger-engine-v0.18.19 registry.dagger.io/engine:v0.18.19 linux arm64 running 192.168.64.4 4 8192 MB

Resources​

If you have any questions about additional ways to use Apple's container with Dagger, join our Discord and ask your questions in our #macos channel.

About Apple's container​

Apple's container is a tool for creating and running Linux containers using lightweight virtual machines on a Mac. It is written in Swift, and optimized for Apple silicon.