#testing dagger in dagger

1 messages · Page 1 of 1 (latest)

buoyant spindle
#

You don't need docker at all for this. Dagger supports nesting as a native feature

heavy veldt
#

Oooh!

buoyant spindle
#

Just set the ExperimentalPrivilegedNesting option in WithExec, and that command can magically make dagger API calls in the correct (nested) context

#

This works at arbitrary depth, too. So you can have dagger-in-dagger-in-dagger, etc

heavy veldt
#

That's pretty awesome, definitely solves the horrid dind problems I've faced in the past. At least at the dagger level 😉

buoyant spindle
#

yeah, one benefit of having built Docker is that we know exactly where the most painful problems are, and we get to go back in time and fix it early 🙂

rotund garden
heavy veldt
#

Lmao, this is awesome. Thank you for the example, I got it working for my node tests and it works flawlessly on the first try! 🤯

royal juniper
heavy veldt
#

@royal juniper That's awesome, love the gha in cue. The gha yaml is so impossible.