Created
July 16, 2017 15:13
-
-
Save qas612820704/19b943a0e68e9a2004e29b0e81280a7c to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
if [[ -z $1 || $1 == "help" ]]; then | |
echo -e "Usage:\n\t $0 [img]" | |
exit | |
fi | |
docker run --rm --user "$(id -u lego)" --net=host -v $PWD:/app -it $1 /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment