A bash script to view the current directory in a Debian based Docker container.
Go to file
2018-06-12 14:16:33 +02:00
root Include my .vimrc 2018-05-24 20:21:07 +02:00
.dockerignore Include my .vimrc 2018-05-24 20:21:07 +02:00
debian-here.sh Detect whether debian-here image exists and build if necessary 2018-06-12 13:58:11 +02:00
Dockerfile Add indicator to PROMT that you have a debian shell 2018-06-12 14:16:33 +02:00
README.md Add credits where credits are due 2018-05-24 21:20:15 +02:00

Usage

Run the BUILD=1 ./debian-here.sh command to build the Docker image.

To spin up a container from the image, simply run ./debian-here.sh and you will find yourself in the directory you've issued the command from mounted in the container.

Note that you can run the debian-here.sh script from anywhere. You could even symlink it to /usr/local/bin for easier access!

Credits

Based on an idea from Blaise.