A bash script to view the current directory in a Debian based Docker container.
Go to file
2018-05-24 23:12:14 +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 Implement adding optional arguments to docker run 2018-05-24 22:40:37 +02:00
Dockerfile Make user easily configurable from Dockerfile 2018-05-24 23:12:14 +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.