This example runs docker system prune
and watchtower before updating docker swarm services.
docker system prune
removes all unused containers, networks and images.- watchtower updates standalone docker containers.
- gantry updates docker swarm services.