Last active
January 18, 2021 08:50
-
-
Save mrkschan/02e59eed1267c3e1f5c0fe78f5776de2 to your computer and use it in GitHub Desktop.
dockerized $CWD
This file contains 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
docker run -e HOME -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e SSH_AUTH_SOCK -v /tmp:/tmp -v "/run/user/$UID":"/run/user/$UID" -v "$HOME":"$HOME" -w "$(pwd)" --rm -i -t <image> <command> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment