Skip to content

Instantly share code, notes, and snippets.

@TayKangSheng
Created May 17, 2019 08:02
Show Gist options
  • Save TayKangSheng/2071e3d24dff70ef99b0b51432026712 to your computer and use it in GitHub Desktop.
Save TayKangSheng/2071e3d24dff70ef99b0b51432026712 to your computer and use it in GitHub Desktop.
Docker commands
# start a shell inside the image
docker run -it -e ENV1=VALUE1 image-name:image-tag /bin/sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment