#Does the CLI Respect DOCKER_HOST

1 messages · Page 1 of 1 (latest)

jolly yew
#

I am trying to run docker on a remote engine and it works just fine using the docker cli. When I run a dagger command it even connects to the remote docker host and pulls down the engine image, but when I try to actually call a module it tells me docker is not running.

levlaz@Levs-MacBook-Pro daggerverse % dagger call -m dragonfly --help
✘ connect 1.4s

Error: new client: failed to run container: docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.
: exit status 125

I have this set with the right IP:

export DOCKER_HOST=ssh://ubuntu@my.ip.address
#

This is fascinating -- if I unset the DAGGER_CLOUD_TOKEN variable then this works as expected :/

Someone else reported this here: #1217859446986903673 message