I'm able to `docker login`, but I'm not able to `....
# general
m
I'm able to
docker login
, but I'm not able to
./pants package ::
(with
docker_image
):
Copy code
failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial unix /var/run/docker.sock: connect: no such file or directory
Ideas? 😗
c
Are you using
DOCKER_HOST
option, to use another connection option than default?
m
And if the answer is yes? (because maybe is being used, but by the tool I'm using, not directly by me)
env_vars = ["DOCKER_CONTEXT=pants_context", "DOCKER_HOST"]
I've added this 🤔
Ah... I solved the issue with it, but BitBucket doesn't support BuildKit ;/
c
Great. I think there’s definitely room for improvement here, to aid get the setup working. Like, should we inherit all
DOCKER_*
env vars by default? Or just report that they exist with configuration that we don’t use, unless explicitly added?
m
maybe giving hints in case of some errors? e.g. "Have you added DOCKER_HOST?"
👍 1
to the [docker]