May 2017
Intermediate to advanced
436 pages
9h 44m
English
If you browse through the official Docker documentation, you will not find any reference to addresses of individual instances that form a service.
The previous sentence might not be true at the time you're reading this. Someone might have updated the documentation. However, at the time I'm writing this chapter, there is not a trace of such information.
The fact that something is not documented does not mean that it does not exist. Indeed, there is a special DNS that will return all IPs.
To see it in action, we'll create the global service called util and attach it to the proxy network:
docker service create --name util \ --network proxy --mode global \ alpine sleep 1000000000docker ...Read now
Unlock full access