Docker Swarms a much simpler alternative to Kubernetes, and yet they offer a surprising amount of capabilities. This is especially true when you consider docker-compose file can be deployed to a swarm. One of my favorites is the rolling updates.
When deploying images to your docker repo, using the
latest tag is the simplest and easiest way to get things going. However, docker does employ caching to speed up any deployments (especially if the tag has not changed). Therefore if you are planning on deploying your
latest image, then you break through the multiple layers of cache.
docker pull myorg/my_service:latest
docker service update --image myorg/my_service:latest --force default_my_service_name