You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: developer-tools/java/chapters/ch06-swarm.adoc
+1-1
Original file line number
Diff line number
Diff line change
@@ -337,7 +337,7 @@ Complete set of commands are shown at https://github.com/docker/labs/blob/master
337
337
338
338
If you only want to stop the application temporarily while keeping any networks that were created as part of this application, the recommended way is to set the amount of service replicas to 0.
339
339
340
-
`docker service scale webapp_db=0 webapp_web=0 webapp_default=0`
340
+
`docker service scale webapp_db=0 webapp_web=0`
341
341
342
342
This is especially useful if the stack contains volumes and you want to keep the data. It allows you to simply start the stack again with setting the replicas to a number higher than 0.
0 commit comments