Skip to content

Instantly share code, notes, and snippets.

@NeZanyat
Forked from mitchwongho/Docker
Last active September 28, 2017 13:15
Show Gist options
  • Save NeZanyat/9f16a33bad5910748e8b4ac2b33822ae to your computer and use it in GitHub Desktop.
Save NeZanyat/9f16a33bad5910748e8b4ac2b33822ae to your computer and use it in GitHub Desktop.
Docker 'run' command to start an interactive BaSH session
#!/bin/bash
# Assuming an Ubuntu Docker image
docker run -it <image> /bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment