added user, password & container name to samba server, added alias to stop samba server

This commit is contained in:
Bryan Joshua Pedini 2024-03-24 06:03:51 +01:00
parent 39cb410c3e
commit 759f0c9494
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@ alias newrepo='bash <(curl -s https://get.bjphoster.com/new-git-repo.sh)'
alias newansibleworkspace='bash <(curl -s https://get.bjphoster.com/new-ansible-workspace.sh)'
alias infinitenothing='while true; do sleep 1; done'
alias sambaserver='docker run -it --rm -p 137:137 -p 138:138 -p 139:139 -p 445:445 -v `pwd`:/share dperson/samba -n -p -s "share;/share;yes;no;yes" -w "WORKGROUP"'
alias sambaserver='docker run -dit --rm --name sambaserver -p 137:137 -p 138:138 -p 139:139 -p 445:445 -v `pwd`:/share dperson/samba -n -p -u "user;P4ssw0rd" -s "share;/share;yes;no;yes;user;user" -w "WORKGROUP"'
alias sambastop='docker stop sambaserver; docker rm sambaserver'
alias acme.sh='docker run -it --rm -v ~/acme.sh:/acme.sh neilpang/acme.sh'
alias termbin='nc termbin.com 9999'
alias dnsversion='dig txt chaos version.bind'