Skip to content

Instantly share code, notes, and snippets.

@Hypnosphi
Forked from falvarez/docker-shell.sh
Created November 29, 2019 17:53
Show Gist options
  • Save Hypnosphi/87abea9c0f5b7b323c90bbea58a7629d to your computer and use it in GitHub Desktop.
Save Hypnosphi/87abea9c0f5b7b323c90bbea58a7629d 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 -w /tmp DOCKER_IMAGE /bin/bash
@hericah
Copy link

hericah commented Jun 7, 2022

Thanks, that's what I looking for!

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