Re:Defence Against the Docker Arts
by bsilvereagle on Thursday April 04, 2019 @12:49AM
(#19569414)
This feature currently does not work with the OS X ssh agent:
ssh access at build time via buildkit works on os x
https://medium.com/@tonistiigi/build-secrets-and-ssh-forward...
the link you've supplied regards ssh access when running docker images, not when building them.
... i did notice that for lots of downloads, it is somewhat slower, or perhaps more prone to lag, than authentication from inside the running image.
Oh, that's nice -- that's been a pain point for a long time, and it seemed like there was a philosophical argument against making the Dockerfile's behaviour context-dependent like this.
There's a good introduction here: https://medium.com/@tonistiigi/build-secrets-and-ssh-forward...