#How to pin engine version?

1 messages · Page 1 of 1 (latest)

wide shore
#

We have a custom engine that we start. In dagger.json we have set engineVersion to the version of our engine.
But as a first step dagger removes our engine and starts the latest one:

create container 0.9s
│   ├─▶ exec docker ps -a --no-trunc --filter name=^dagger-engine-|^dagger-engine-v0\.18\.14$ --format {{.Names}} 0.0s
│   ├─▶ exec docker run --name dagger-engine-v0.18.14 -d --restart always -v /var/lib/dagger --privileged registry.dagger.io/engine:v0.18.14 --debug 0.3s
│   ╰─▶ exec docker rm -fv dagger-engine-v0.18.10 0.5s

How can we properly pin the engine version?

#

Okay, found this doc remark:

Determine the runner version by using the same version as the CLI or SDK you are using
That explains it.