#Running dagger-engine with docker compose - runc fails to start container

1 messages · Page 1 of 1 (latest)

hollow fern
#

I am attempting to run the simple hello dagger module from the documentation.
My dagger-engine is reporting this error:
runc run failed: unable to start container process: error during container init: error mounting "/run/buildkit/buildkitd.sock" to rootfs at "/.runner.sock": stat /run/buildkit/buildkitd.sock: no such file or directory

I am running the engine using docker-compose in this way:

dagger-engine:
    image: registry.dagger.io/engine:v0.10.3
    privileged: true
    volumes:
      - dagger-engine:/var/lib/dagger
    command: --addr tcp://0.0.0.0:1234
    expose:
      - 1234

I am configuring my cli using:

_EXPERIMENTAL_DAGGER_RUNNER_HOST: tcp://dagger-engine:1234

NOTE: My CLI is running in an adjacent docker container, so I do not need to publish ports to the host.

Does anyone have any ideas about what causes this error?

glacial leaf