This is the same as Docker Swarm Visualizer, but written in Rust and view-only.
Because it is written in Rust, a running container only uses about 2MB memory, compared to >40MB in Nodejs.
- Make sure you are using docker in swarm mode (
docker swarm init
).
# make sure the required ports are open
TCP port 2377 for cluster management communications
TCP and UDP port 7946 for communication among nodes
UDP port 4789 for overlay network traffic
-
Make sure you can access your swarm on port 9510/tcp.
-
Make sure the nodes can communicate with each other on port 9511/tcp.
-
Deploy the Visualizer
# Download the Stack File (from GitHub) curl https://raw.githubusercontent.com/yandeu/docker-swarm-visualizer-rs/main/visualizer-rs.stack.yml -o visualizer-rs.stack.yml # Deploy the Stack docker stack deploy -c visualizer-rs.stack.yml visualizer-rs
-
Open the Visualizer Dashboard
http://127.0.0.1:9510
orhttp://[NODE_IP]:9510