1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-13 01:36:23 +00:00

Some handy aliases to deploy and remove services :) (#119)

This commit is contained in:
Benjamin Durham
2020-06-21 17:50:41 -07:00
committed by GitHub
parent 36c0411fc9
commit e71053825e

View File

@@ -14,3 +14,5 @@ alias dkideps='docker-image-dependencies' # Output a graph of image dependencie
alias dkre='docker-runtime-environment' # List environmental variables of the supplied image ID
alias dkelc='docker exec -it `dklcid` bash' # Enter last container (works with Docker 1.3 and above)
alias git='docker run -v $PWD:/var/data -v /var/data/git-docker/data/.ssh:/root/.ssh funkypenguin/git-docker git' # Run git client in a container (for hosts witohut git)
alias dsd='docker stack deploy "$1" -c /var/data/config/"$1"/"$1".yml
alias dsr='docker stack rm "$1"