18 lines
443 B
Bash
Executable File
18 lines
443 B
Bash
Executable File
#!/bin/sh
|
|
|
|
containername=$([[ $1 ]] && echo $1 || echo "vue")
|
|
containermount=$([[ $2 ]] && echo $2 || echo "$HOME/projects/")
|
|
|
|
echo "
|
|
=> Mounting folder to /mnt (in container)
|
|
=> Starting container
|
|
"
|
|
|
|
docker run -it \
|
|
-v $containermount:/mnt \
|
|
-v ~/.config/fish:/root/.config/fish \
|
|
-v ~/projects/system/dotfiles/scripts/:/root/projects/system/dotfiles \
|
|
--name $containername \
|
|
-w /mnt \
|
|
git.janishutz.com/registry/dev-container-vue
|