#Running dagger client in container while runner is outside

1 messages · Page 1 of 1 (latest)

rare sleet
#

In order to support people executing their dagger file in whichever environment they want I was hoping to execute the client inside a container and then have it communicate outside of that container to the host to a runner. This seems like it should be possible, but I wondered if anyone has written up anything about it or has done something similar before?

arctic pebble
#

@rare sleet yes. There's several ways to do this. The most straightforward is to mount your /var/lib/docker.sock and install the docker-cli to your container so Dagger can start the engine and run your pipeline.

rare sleet
#

ohh i see just treat it like docker in docker kind of