Skip to content

Instantly share code, notes, and snippets.

@yageek
Forked from falvarez/docker-shell.sh
Created March 11, 2022 16:59
Show Gist options
  • Save yageek/ab80362b1a78cfd41f04efd6630833b1 to your computer and use it in GitHub Desktop.
Save yageek/ab80362b1a78cfd41f04efd6630833b1 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