#buildkit cache config inpython sdk

1 messages · Page 1 of 1 (latest)

wet sphinx
#

Hi, how do you specify buildkit caching config in python sdk? I would like to run my dagger pipeline inside kubernetes pod started by jenkins, thus I need external cache storage

honest warren
#

if you provision your own engine, you can assign a volume to /var/lib/dagger to increase the buildkit cache storage

wet sphinx
#

I see, can this volume be used by multiple dagger runner at the same time?

honest warren
wet sphinx
#

Got it, thanks once again

wet sphinx
#

Hi @honest warren , if i were to connect to dagger engine trhough tcp port, how should i run the dagger engine and specify the tcp port it should use?

honest warren
#

docker run --privileged --rm registry.dagger.io/engine:v0.6.3 --help
^ that shows all the flags the engine accepts. What you're looking for is --addr