Add note about stack deploy for image pulls (#4815)

This commit is contained in:
Jim Galasyn
2017-10-05 15:01:51 -07:00
committed by GitHub
parent da0e5d2b38
commit 5698ef7c4f
2 changed files with 11 additions and 0 deletions

View File

@@ -95,6 +95,10 @@ keep image size small:
are only available to services rather than standalone containers. These
features allow you to keep your images as generic as possible and to avoid
storing sensitive data within the Docker images or containers themselves.
- Let `docker stack deploy` handle any image pulls for you, instead of using
`docker pull`. This way, your deployment won't try to pull from nodes
that are down. Also, when new nodes are added to the swarm, images are
pulled automatically.
There are limitations around sharing data amongst nodes of a swarm service.
If you use [Docker for AWS](/docker-for-aws/persistent-data-volumes.md) or