14 lines
298 B
Bash
Executable File
14 lines
298 B
Bash
Executable File
#!/bin/sh
|
|
|
|
containername=$([[ $1 ]] && echo $1 || echo "webserver")
|
|
containermount=$([[ $2 ]] && echo $2 || echo "$HOME/projects/")
|
|
|
|
echo "
|
|
=> Mounting folder to /mnt
|
|
"
|
|
|
|
docker run --rm \
|
|
-v $containermount:/mnt \
|
|
git.janishutz.com/registry/dev-container-base
|
|
# TODO: Update the used image
|