A bash script to view the current directory in a Debian based Docker container.
Go to file
Kristóf Tóth bb04e61672 Add credits where credits are due 2018-05-24 21:20:15 +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
Dockerfile Reorder Dockerfile to make caching more efficient 2018-05-24 21:05:00 +02:00
README.md Add credits where credits are due 2018-05-24 21:20:15 +02:00
debian-here.sh Exit after building in debian-here.sh 2018-05-24 21:18:14 +02:00

README.md

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.