Created
August 17, 2016 18:57
-
-
Save Kyle-Falconer/f00aa2ee5520a0cc4ca213b2ec9bf1e0 to your computer and use it in GitHub Desktop.
start a docker container, into a bash prompt
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/sh | |
# Assuming an Ubuntu Docker image or similar with bash | |
# here $1 is the name of the docker container to run | |
docker run -it $1 /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment