Skip to content

Instantly share code, notes, and snippets.

@timlevett
Created May 21, 2018 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timlevett/79b0abce1f8048d0c89d2762f7302492 to your computer and use it in GitHub Desktop.
Save timlevett/79b0abce1f8048d0c89d2762f7302492 to your computer and use it in GitHub Desktop.
alias dforce='docker service update --force --with-registry-auth --detach'
alias dupdate='dforce'
alias dlogs='docker service logs -f'
alias dps='docker service ps'
alias dls='docker service ls'
alias dscale='docker service scale'
alias dnode='docker node'
alias ddrain='dnode update --availability=drain'
alias dactive='dnode update --availability=active'
alias dpause='dnode update --availability=pause'
alias nls='docker node ls'
alias nps='docker node ps'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment