Scripts to spin up dockerized bash
shells to perform quick work.
Start a shell:
./bash.sh
./bash-git.sh
./pwsh-git.sh
To run a command and exit:
./bash.sh "echo 1"
Notes:
- Customize the script before running it
- Default user is
user
with same UID as the script caller - host filesystem is mounted on
/host
~/.bash_aliases
is mounted on/home/user/.bash_aliases
~/.bashrc
is mounted on/home/user/.bashrc
~/.git-credentials
is mounted on/home/user/.git-credentials
(forgit
variants)