Skip to content

Instantly share code, notes, and snippets.

@Kyle-Falconer
Created August 17, 2016 18:57
Show Gist options
  • Save Kyle-Falconer/f00aa2ee5520a0cc4ca213b2ec9bf1e0 to your computer and use it in GitHub Desktop.
Save Kyle-Falconer/f00aa2ee5520a0cc4ca213b2ec9bf1e0 to your computer and use it in GitHub Desktop.
start a docker container, into a bash prompt
#!/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