mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-12 17:26:19 +00:00
Some handy aliases to deploy and remove services :) (#119)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user