Skip to content

Instantly share code, notes, and snippets.

@leopard627
Created January 20, 2020 15:51
Show Gist options
  • Save leopard627/e1aea99fb02532b10f58582e126953e4 to your computer and use it in GitHub Desktop.
Save leopard627/e1aea99fb02532b10f58582e126953e4 to your computer and use it in GitHub Desktop.
docker service update \
--update-parallelism 1 \
--update-delay 5s \
--update-order stop-first \
--image { your docker iamge } \
--force \
--with-registry-auth \
api
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment