Using SSH Mounts in Docker BuildsMay 7, 2025Docker SSH mounts allow you to securely use your local SSH agent during docker build, for example to install private Git dependencies via SSH, without baking any keys into your image.DockerSSHSecretsBuildKit