Docker Pull plugin w/remote operations

Does the docker-pull plugin support remote builds? I’m using Nomad ODRs but when attempting to build an app which uses the docker-pull plugin, I face an error about the Docker daemon not running:

✓ Initializing Docker client...
❌ Pulling image...
! error pulling image: Cannot connect to the Docker daemon at
  unix:///var/run/docker.sock. Is the docker daemon running?

Hey @paladin-devops !

At the moment, we don’t have support for the docker-pull plugin with On-Demand Runners. We might be able to use Kaniko (which is what we use to build containers for ODR) to pull the requested container. I’d open this as a feature request if you’d like. Thanks!

1 Like