I’m trying to use the new docker `tools` config in...
# general
I’m trying to use the new docker
config in 2.11 along with the amazon-ecr-credential-helper. I see the shim for
is being properly created in the build process’s tmp dir (
exists, and I can invoke it manually and get the same results as the actual binary). When it’s set up, the build process is failing with:
Copy code
failed to solve with frontend dockerfile.v0: failed to create LLB definition: rpc error: code = Unknown desc = error getting credentials - err: docker-credential-ecr-login resolves to executable in current directory (./.shims/bin/docker-credential-ecr-login), out: ``
if I update
to set
, the build works. not sure if this weird “resolves to executable in current directory” error is a general docker thing or specific to docker-for-mac - I haven’t been able to find a config toggle to make it work
Interestingly, if I edit
to replace this:
Copy code
with this:
Copy code
then everything works
will file a bug and open a PR
❤️ 1