4 ms·
Yes, for ex: docker run -d --name web1 --net prod --net-alias web <webapp> docker run -d --name web2 --net prod --net-alias web <webapp> resolution for 'web' w
by sanimej 11y ago
Yes, for ex:
docker run -d --name web1 --net prod --net-alias web <webapp>
docker run -d --name web2 --net prod --net-alias web <webapp>
resolution for 'web' will return IPs of both the containers. You might still have to watch out for the DNS caching at the application level.