A bash script to view the current directory in a Debian based Docker container.
root | ||
.dockerignore | ||
debian-here.sh | ||
Dockerfile | ||
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!