A team lead asks how services in a Docker Swarm discover each other without hardcoding IP addresses. What mechanism enables this?
-
A
Swarm's built-in DNS-based service discovery
-
B
Static /etc/hosts entries injected at startup
-
C
External Consul service catalog only
-
D
Manual IP assignment via environment variables