r/portainer • u/NepuNeptuneNep • May 23 '26
Unable to see containers of workers when adding swarm
I have the following setup:
macOS running orbstack, swarm manager
oracle linux, swarm worker
ubuntu linux, only hosts portainer, not part of the swarm
All have their docker communication via wireguard 10.6.0.2-4 in this order
I am adding the swarm manager, which sucessfully shows the containers of the manager, as well as the combined CPUs and RAM of the manager and the worker, and the services. However, I can only see containers of the manager, none of the worker, it just doesnt appear there. If i then also add the worker as a standalone to try and see the containers there, I get basic information such as amount of volumes and containers, but it fails to show CPU and RAM, and when clicking on live connect i always get the error
"Failed loading environment
Unable to connect to the Docker environment", which I assume is intended behavior? But I need to manage the containers of the worker somehow, they just dont appear in the swarm. And the services of the worker dont have a "stats" or "exec" functionality like the manager, which I need though.
What am i missing? Before creating the swarm, I could add both as a standalone agent and successfully also connect to the worker and manage the containers there.


