#Is there a good Docker image to use to run Dagger scripts within?

1 messages · Page 1 of 1 (latest)

karmic briar
#

Hi all, I'm looking to deploy and run dagger code on fly.io machines - is there a Docker image that has the dagger toolset I could use as the base image to execute dagger code on? (dind / buildx style) Or am I think about this wrong in some way 😄

past hawk
#

Dagger is the SDK so the question would be more if you invoked Go you’d want a go file or task runner (though I hear they have entry points in preview) . My 10 cents is I’d run on machine directly first since adding in docker mount for invoking dagger in a containerized environment is an extra layer to wrap your head around. If you look at the docs they have great jump start examples. The dagger call will let you run all your activity containerized. I’m just another community member so they may have better ways to explain. My tolerance for typing on mobile is low. 😆

karmic briar
#

I mean who can argue with that tbh

#

CLI looks quite interesting, I am doing a bit of weird science with BASH at the moment so shell scripting is tempting to explore

#

ah right maybe a go image + install CLI from that could be straightforward. I think fly.io runs firecracker / somehow more privileged than typical unprivileged Docker daemon context? (not sure)

#

or I could as the docs say use this as an excuse to write a go program and write my own CLI with what I need 😛