Skip to content

Instantly share code, notes, and snippets.

@mikejoh
Created August 20, 2018 08:15
Show Gist options
  • Save mikejoh/2da12020ccff7c075da8f4a372dcddd5 to your computer and use it in GitHub Desktop.
Save mikejoh/2da12020ccff7c075da8f4a372dcddd5 to your computer and use it in GitHub Desktop.
Docker one-liners

Docker one-liners

Get a shell in a container (e.g. when failing)

docker run -ti --entrypoint /bin/bash IMAGE_NAME

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment