Docker Community Forums

Share and learn in the Docker community.

Forward SSH with ADD command

Hello,
Now it is possible to run command with SSH forwarding, is it possible to add SSH forwarding within ADD command too?
The most obvious use case is: upon cloning the project from the company’s intra-net source control, user is able to check the change in repo by using git/BitBucket REST APIs within ADD command, thus preventing the constant caching on repository clone.