'swarm leave' breaks DNS resolution in a bridge network #45144
Labels
area/networking/dns
area/networking
area/swarm
kind/bug
Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
status/0-triage
Description
After leaving a swarm, hostname resolution in standalone containers within a
bridge
network is broken.Consider the following docker-compose.yml:
Reproduce
172.19.0.2 node-2 node-2
172.19.0.3 node-1 node-1
(no result)
(no result)
ping: bad address 'node-2'
Expected behavior
docker version
docker info
Additional Info
Hostname resolution is restored after restarting with
docker compose restart
.Probably related to #38900, #42877
The text was updated successfully, but these errors were encountered: