A failing Swarm service does not, by itself, explain why other healthy containers lost overlay connectivity. Diagnose the service and its tasks separately from network attachment and the inter-node data path; without task history, network inspection, node and firewall details, and logs, the cause of this incident cannot be identified.
Why can healthy containers no longer communicate over a Docker Swarm overlay network?
Swarm services describe desired state, including which networks a service should use; tasks are the running or attempted instances that implement that state. A task may be restarting, rejected, or pending while a container elsewhere reports healthy. Neither service status nor a container health check establishes that peers can communicate across an overlay.
As an Amazon Associate I earn from qualifying purchases.
Start by separating the control state (what Swarm wants and where tasks are placed) from actual network reachability. Treat task failure, missing network membership, and a broken cross-node data path as distinct diagnostic branches, not as proof of a single cause.
How do I check whether a Swarm service task is attached to an overlay network?
-
On a manager, run
docker service ls, thendocker service ps <service-name>. Record desired and current states, node placement, task errors, and task history. Docker documentsdocker service psas a way to list tasks and their networks. Identify whether the affected containers are tasks of the failing service or belong to other services.#1 Best Overall
SaleNETGEAR 5-Port Gigabit Ethernet Unmanaged Network Switch (GS305) | Home Network Hub, Office Ethernet Splitter, Plug-and-Play, Silent Operation, Desktop or Wall Mount, Essentials Model- GIGABIT ETHERNET PORTS: Features 5 x 1.0Gbps Ethernet ports for high-speed connectivity. Auto-negotiating ports detect the optimal speed for connected devices and work with existing Cat5e or Cat6 Ethernet cables.
- PLUG-AND-PLAY UNMANAGED NETWORK SWITCH: Simple plug-and-play setup with no software to install or configuration required.
- FLEXIBLE MOUNTING OPTIONS: Compact metal design supports desktop or wall-mount placement for versatile installation.
- SILENT & ENERGY-EFFICIENT OPERATION: Fanless design ensures silent performance, while IEEE 802.3az Energy Efficient Ethernet reduces power consumption without compromising high-speed network performance.
- REGIONAL COMPATIBILITY: Made for use in U.S. & CA only
-
Inspect the service definition and its network list, then run
docker network inspect <network-name>for the named overlay. Compare the failing service’s tasks with the peer services and the containers or tasks shown on that network. Check whether every participant is attached to the same intended overlay. -
Compare the task timeline with the first reported connectivity failure. Swarm managers try to reconcile actual tasks with desired service state, so a current service summary alone may not show when tasks were replaced or where they ran.
Network membership is configurable: Docker supports adding an overlay to a new or existing service and removing one during an update. That makes an unintended removal or mismatched attachment worth checking, but neither is established as the explanation here. Do not change the service until inspection indicates what is wrong; Docker documents docker service update --network-add <network> <service> and --network-rm for configuration changes.
Rank #2
- 𝗢𝗻𝗲 𝗦𝘄𝗶𝘁𝗰𝗵 𝗠𝗮𝗱𝗲 𝘁𝗼 𝗘𝘅𝗽𝗮𝗻𝗱 𝗡𝗲𝘁𝘄𝗼𝗿𝗸: 5× 10/100/1000Mbps RJ45 Ports supporting Auto Negotiation and Auto MDI/MDIX.
- 𝗚𝗶𝗴𝗮𝗯𝗶𝘁 𝘁𝗵𝗮𝘁 𝗦𝗮𝘃𝗲𝘀 𝗘𝗻𝗲𝗿𝗴𝘆: Latest innovative energy-efficient technology greatly expands your network capacity with much less power consumption and helps save money.
- 𝗥𝗲𝗹𝗶𝗮𝗯𝗹𝗲 𝗮𝗻𝗱 𝗤𝘂𝗶𝗲𝘁: IEEE 802.3X flow control provides reliable data transfer and Fanless design ensures quiet operation.
- 𝗣𝗹𝘂𝗴 𝗮𝗻𝗱 𝗣𝗹𝗮𝘆: Easy setup with no software installation or configuration needed.
- 𝗔𝗱𝘃𝗮𝗻𝗰𝗲𝗱 𝗦𝗼𝗳𝘁𝘄𝗮𝗿𝗲 𝗙𝗲𝗮𝘁𝘂𝗿𝗲𝘀: Prioritize your traffic and guarantee high quality of video or voice data transmission with Port-based 802.1p/DSCP QoS and IGMP Snooping.
Does the failure happen only between nodes?
Test communication between affected tasks or containers on the same host, then across different hosts. A failure limited to cross-node traffic points toward the inter-node path; same-host failures mean you should not assume that opening an inter-node port will address the problem.
For multi-node Swarms, Docker documents these inter-node requirements:
-
TCP and UDP 7946: used for network discovery.
-
UDP 4789: used for the overlay data path by default. If the cluster is configured with an alternate data-path port, verify that port instead.
Rank #3
SaleNETGEAR 8-Port Gigabit Ethernet Unmanaged Network Switch (GS308) | Home Network Hub, Office Ethernet Splitter, Plug-and-Play, Silent Operation, Desktop or Wall Mount, Essentials Model- GIGABIT ETHERNET PORTS: Features 8 x 1.0Gbps Ethernet ports for high-speed connectivity. Auto-negotiating ports detect the optimal speed for connected devices and work with existing Cat5e or Cat6 Ethernet cables.
- PLUG-AND-PLAY UNMANAGED NETWORK SWITCH: Simple plug-and-play setup with no software to install or configuration required.
- FLEXIBLE MOUNTING OPTIONS: Compact metal design supports desktop or wall-mount placement for versatile installation.
- SILENT & ENERGY-EFFICIENT OPERATION: Fanless design ensures silent performance, while IEEE 802.3az Energy Efficient Ethernet reduces power consumption without compromising high-speed network performance.
- REGIONAL COMPATIBILITY: Made for use in U.S. & CA only
Discovery and overlay data transport are different functions, so a block affecting one is not interchangeable with a block affecting the other. Check routing and firewall reachability between Swarm nodes under the cluster’s security policy; these requirements are not a reason to expose ports broadly to the public internet.
Did the connectivity failure coincide with an update or task replacement?
Compare the first failure time with service updates, node availability changes, and task replacements. If symptoms began during a deployment, inspect the update status and policy as well as task history. Docker documents a default --update-monitor period of 30 seconds: a task failure in that period counts toward the service update failure threshold, while a failure after it does not. This timing helps interpret update outcomes, but it does not prove that an update caused overlay connectivity to fail.
Could the number of containers on a host matter?
Check scale only if the deployment approaches Docker’s documented condition. Docker Docs’ “Overlay network driver” warns that Linux kernel limitations can make overlay networks unstable and inter-container communication may break when 1,000 containers are co-located on one host. This is a specific co-location condition, not a universal container limit or an explanation to apply to a smaller deployment without matching evidence.
Rank #4
- 【One Switch Made to Expand Network】Features 5 RJ45 ports with 10/100/1000Mbps speeds, supporting Auto-Negotiation and Auto MDI/MDIX for hassle-free setup. Ideal for expanding your network, with 1 uplink (input) port and 4 output ports to split your Ethernet connection to multiple devices.
- 【Gigabit that Saves Energy】Latest innovative energy-efficient technology greatly expands your network capacity with much less power consumption and helps save money
- 【Reliable and Quiet】IEEE 802.3X flow control provides reliable data transfer and Fanless design ensures quiet operation
- 【Plug and Play】Easy setup with no software installation or configuration needed
- 【Ethernet Splitter】Connect to your router or modem for additional wired connections (laptop, gaming console, printer, etc)
What evidence is needed to identify this incident’s cause?
The available incident description does not include the details needed to distinguish these branches or name a root cause. Gather the following for the affected time window:
-
Docker Engine and kernel versions, cluster size and topology, and the affected node list.
Recommended: Fix Windows Errors and Clear Junk Files in Minutes - Free Scan →Recommended: Update Every Outdated Driver on Your PC in One Scan - Free →Recommended: PC Feels Slow? A Free Scan Shows What's Dragging Windows Down →Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy. -
Output from
docker service ls,docker service ps <service-name>, the service definition or inspection, anddocker network inspect <network-name>.Best Value
SaleTP-Link TL-SG108S-M2, 8-Port Multi-Gigabit 2.5G Unmanaged Ethernet Switch | Multi Gigabit Network Switch, Ethernet Splitter, Plug & Play, Desktop/Wall Mount, Silent Operation- 𝗘𝗶𝗴𝗵𝘁 𝟮.𝟱 𝗚𝗯𝗽𝘀 𝗣𝗼𝗿𝘁𝘀 𝗳𝗼𝗿 𝗦𝘂𝗽𝗲𝗿-𝗙𝗮𝘀𝘁 𝗖𝗼𝗻𝗻𝗲𝗰𝘁𝗶𝗼𝗻𝘀: 8× 2.5-Gigabit ports unlock the highest performance of your Multi-Gig bandwidth and devices, and provide up to 40 Gbps of switching capacity.
- 𝗔𝘂𝘁𝗼-𝗡𝗲𝗴𝗼𝘁𝗶𝗮𝘁𝗶𝗼𝗻: Auto-negotiation intelligently senses the link speeds and adjusts between 3-speeds (100Mb/1G/2.5G) for compatibility and optimal performance for all your devices, including 2.5G WiFi 6 AP, 2.5G NAS, 2.5G PCIe Adapter, 2.5G Server, gaming computer, 4K video, and more.
- 𝗜𝗱𝗲𝗮𝗹 𝗳𝗼𝗿 𝗩𝗮𝗿𝗶𝗼𝘂𝘀 𝗦𝗰𝗲𝗻𝗮𝗿𝗶𝗼𝘀: Built for LAN parties, home entertainment, small and home offices, and instant transfer for workstations.
- 𝗛𝗮𝘀𝘀𝗹𝗲-𝗙𝗿𝗲𝗲 𝗖𝗮𝗯𝗹𝗶𝗻𝗴: Instantly upgrade to 2.5 Gbps without the need to upgrade to Cat6 wiring, reducing wiring costs and hassle. *
- 𝗦𝗶𝗹𝗲𝗻𝘁 𝗢𝗽𝗲𝗿𝗮𝘁𝗶𝗼𝗻: Industry-leading fanless design ensures silent operation, ideal for any home or business.
-
Task placement and replacement history, update status and policy, and the first known failure time.
-
Results of same-node and cross-node connectivity checks, plus node routing and firewall configuration for the required inter-node ports.
-
Relevant Docker daemon and application logs, including health-check results and errors from affected tasks.
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchSpecial offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
With those artifacts, an operator can determine whether the evidence points to task state, network membership, cross-node transport, deployment timing, or the documented high-density condition. Without them, attributing the loss of reachability to the failing service would go beyond what is known.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

