Docker Swarm yaiku alat orchestration container bawaan Docker — ngubah grup host Docker dadi cluster sing dikelola nganggo perintah Docker sing akrab. Iku luwih simpel tinimbang Kubernetes nanging kurang kuat; memahami loro-lorone membantu milih orchestration sing tepat kanggo situasi.
Apa sing diduweni Docker Swarm
Swarm clusters multiple Docker hosts and orchestrates containers ("services"):
✓ Built into Docker — uses familiar Docker CLI/Compose-like syntax (low learning curve)
✓ SERVICES with replicas; scheduling across nodes; SELF-HEALING (restart failed tasks)
✓ Scaling, ROLLING UPDATES/rollbacks, overlay networking, service discovery, secrets
✓ Load balancing (built-in routing mesh)
docker swarm init
docker service create --replicas 3 --name web -p 80:80 nginx
docker service scale web=5
docker service update --image nginx:1.25 web
