Created
June 9, 2016 12:05
-
-
Save countless-integers/8884ef306e400726714546967615c111 to your computer and use it in GitHub Desktop.
run command inside a docker container assuming your container is named the same as the current folder (very specific, I know :))
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
#!/bin/bash | |
docker exec -it $(basename `pwd`) $@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment