#apple container

1 messages · Page 1 of 1 (latest)

vernal pier
#

dagger can not detect apple container ...

tiny flicker
#

There's an order in which dagger will try to detect the right container runtime.
If I read it correctly you have at the same time orbstack and apple container.
To say to dagger to try first with apple container, you have to explicitly say it. For instance, on my machine with both apple container and docker desktop:

$ container system start
Verifying apiserver is running...

$ container ls
ID  IMAGE  OS  ARCH  STATE  ADDR  CPUS  MEMORY

$ _EXPERIMENTAL_DAGGER_RUNNER_HOST=image+apple://registry.dagger.io/engine:v0.19.7 dagger core version
✔ connect 20.3s
✔ loading type definitions 0.3s
✔ parsing command line arguments 0.0s

✔ version: String! 0.0s

v0.19.7

Full trace at https://dagger.cloud/dagger/traces/2b5ee94ef31f30f2c39425ce4aa65576

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

The key here is the _EXPERIMENTAL_DAGGER_RUNNER_HOST=image+apple://registry.dagger.io/engine:v0.19.7 with image+apple

vernal pier
#

yes, but my orbstack not launched, and , why it can't keep try apple cotainer when orbstack docker daemon connection failed

golden vector