forked from tilde/ssh-reg
Shortcuts to source when working on ssh-reg
Just source the file and you get the aliases for dev_run, dev_stop(affects containers) and dev_build which rebuilds the ssh-reg imagefeature-admin-split
parent
710ceacd7c
commit
27e5f0445a
@ -0,0 +1,4 @@
|
||||
alias dev_run="docker container run -l dev-ssh-reg --name dev-ssh-reg --rm -itd -v $PWD/private/:/app/admin ssh-reg"
|
||||
alias dev_stop="docker container stop $(docker ps -a -q --filter ancestor=ssh-reg --format='{{.ID}}')"
|
||||
alias dev_build="docker build -t ssh-reg:latest --force-rm ."
|
||||
alias dev_bash="docker container exec -it dev-ssh-reg bash -c 'cd /app/admin; exec bash --login -i'"
|
Loading…
Reference in New Issue