Skip to content

Instantly share code, notes, and snippets.

@jonathanhle
Forked from falvarez/docker-shell.sh
Created September 2, 2022 06:15
Show Gist options
  • Save jonathanhle/60cf81f220ad8f5aafce2321430b0dfb to your computer and use it in GitHub Desktop.
Save jonathanhle/60cf81f220ad8f5aafce2321430b0dfb to your computer and use it in GitHub Desktop.
Run docker container, mount current working directory and get interactive shell
docker run -ti -v $(pwd):/tmp DOCKER_IMAGE /bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment