Last active
April 18, 2018 10:50
-
-
Save sirius2k/d60bf1aadf901c66ddcead549acd9c46 to your computer and use it in GitHub Desktop.
Run docker image with bash shell
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
# Assuming an Ubuntu Docker image and there's no ENTRYPOINT | |
$ docker run -it <image> /bin/bash | |
# Assuming an Ubuntu Docker image and override ENTRYPOINT | |
$ docker run -it --entrypoint "/bin/bash" <image> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment