Show all containers in a Swarm on the Network Details page #11552
Replies: 3 comments
-
When selecting the network from the Networks page, you will likely see an arrow indicating an expansion option. If you click this you'll see additional networks listed on your other nodes. If you then click on the network for the corresponding node that your service is deployed on, you should see it listed in the Containers in network section. For example, I created a network called I'll discuss with the team, but I believe this behavior is due to the way that Docker manages networks - as you indicated, you see different results from a
|
Beta Was this translation helpful? Give feedback.
-
Ah, I didn't notice the arrow before. It definitely feels like aggregation into a single page is something Portainer should be doing. I don't know why Docker Swarm doesn't provide an aggregated network inspect view already, but I can't imagine why I would want to see each network separate like that. |
Beta Was this translation helpful? Give feedback.
-
I've converted this into a discussion thread as this is more a feature request than a bug report. |
Beta Was this translation helpful? Give feedback.
-
Before you start please confirm the following.
Problem Description
The
Containers in network
section of theNetwork Details
page for an overlay network only lists containers that are running on the swarm manager. It does not include containers connected to that network that are running on the swarm workers.Expected Behavior
The
Containers in network
lists containers connected to the network that are running on all nodes in the swarm.Actual Behavior
The
Containers in network
only lists containers connected to the network that are running on the swarm manager.Steps to Reproduce
my-network
.my-network
.my-network
and look at the Containers in network list at the bottom of the page.Portainer logs or screenshots
No response
Portainer version
2.20.0
Portainer Edition
Community Edition (CE)
Platform and Version
Docker Swarm 25.0.5
OS and Architecture
Ubuntu 22.04
Browser
Firefox
What command did you use to deploy Portainer?
`docker stack depoloy` https://github.com/DarkFlorist/operations/blob/df9e4772d001ee1203dfd0b5cadb342b1e77f951/portainer-stack.yml
Additional Information
If I
docker network inspect ...
from the swarm worker I see the containers on that network running on the worker, and if Idocker network inspect ...
from the swarm manager I see the containers on that network running on the manager. The symptoms suggest that portainer isn't aggregating the two lists into a single list that is presented, and is instead just querying the swarm manager for the list (which is incomplete).Beta Was this translation helpful? Give feedback.
All reactions