Created
January 12, 2017 22:05
-
-
Save patmaddox/8342f4df52ff09f5780f87909544aa8b to your computer and use it in GitHub Desktop.
Using personal SSH keys on docker container (OS X)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| volumes: | |
| - ~/.ssh:/root/.ssh-local:ro |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RUN mkdir ~/.ssh | |
| RUN echo 'IdentityFile ~/.ssh-local/id_rsa' > ~/.ssh/config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment