I'm trying to add a `docker_image` target, but the...
# general
m
I'm trying to add a
docker_image
target, but the package step is failing with
err: exec: "docker-credential-pass": executable file not found in $PATH
(that's the Docker credential helper configured in my
~/.docker/config.json
). Outside of Pants, the binary exists in
/usr/bin
and Docker works normally, so I'm guessing Pants is limiting the PATH for the docker exec somehow. Any tips on where I should be looking to fix it, or am I a bit out of my depth for a first issue?
c
Hi and welcome 👋 Start with a search in this slack for
docker auth
for previous threads on this topic. It may be non-trivial but should contain all the nuggets of information we’re able to provide. Still, don’t hesitate to ask for clarifications etc if you’re still stuck after going through those threads 🙂