Clarified rebuild and publish as part of iterating on app (#4737)

* clarified rebuild and publish as part of iterating on app

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>

* copyedits

Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
This commit is contained in:
Victoria Bialas 2017-09-28 09:35:54 -07:00 committed by GitHub
parent f21077adc3
commit 3c97bc9875
1 changed files with 6 additions and 4 deletions

View File

@ -411,14 +411,16 @@ look:
## Iterating and scaling your app
From here you can do everything you learned about in part 3.
From here you can do everything you learned about in parts 2 and 3.
Scale the app by changing the `docker-compose.yml` file.
Change the app behavior by editing code.
Change the app behavior by editing code, rebuild, and push the new image. (To
do this, follow the same steps you took earlier to [build the
app](part2.md#build-the-app) and [publish the
image](part2.md#publish-the-image)).
In either case, simply run `docker stack deploy` again to deploy these
changes.
In either case, simply run `docker stack deploy` again to deploy these changes.
You can join any machine, physical or virtual, to this swarm, using the
same `docker swarm join` command you used on `myvm2`, and capacity will be added