yandeu / docker-swarm-visualizer

🐋 A Visualizer for Docker Swarm using the Docker Engine API and Node.js.
Other
35 stars 9 forks source link

worker not show container running #3

Closed febrimaulana closed 2 years ago

febrimaulana commented 2 years ago

image

i am trying to run 1 node manager 2 node worker.

on the worker node there is no visual container running as shown above.

if I check using docker ps on the worker there is a container running.

the visuals also don't see the status of the disk, cpu, memory on the worker

what do I have to do ?

yandeu commented 2 years ago

Have you used the stack file from the "Getting Started" in README.md?

yandeu commented 2 years ago

Also check:

  • Make sure you can access your swarm on port 9500/tcp.

  • Make sure the nodes can communicate with each other on port 9501/tcp.

febrimaulana commented 2 years ago

I've opened ports 9500 and 9501.

but the worker still can't see the running container and disk memory etc.

yandeu commented 2 years ago

I will have a closer look very soon.

yandeu commented 2 years ago

I just tried it and it worked as expected. Please try temporarily to allow ALL traffic.

yandeu commented 2 years ago

Make sure the default Docker Swarm ports are open as well:

TCP port 2377 for cluster management communications TCP and UDP port 7946 for communication among nodes UDP port 4789 for overlay network traffic

And outgoing traffic needs to be open on TCP and UDP as well.