Skip to content
A docker swarm visualizer
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dev
screenshots Added node actions Aug 15, 2017
src Added 3d viewer Aug 28, 2017
test
.babelrc Initial commit - a working version of the container images Aug 11, 2017
.gitignore
CODE_OF_CONDUCT.md
CONTRIBUTING.md Contribution guide Aug 15, 2017
Dockerfile Initial commit - a working version of the container images Aug 11, 2017
LICENSE Initial commit Aug 11, 2017
README.md added gif Aug 28, 2017
package.json
server.js Changed the config back into the container run mode Aug 17, 2017
webpack.config.js

README.md

Docker swarm visualizer

A docker swarm cluster visualizer application. You can run it in container cluster and use as a dashboard to visualize the service-task distributions among nodes in realtime.

Screenshot - Nodes

alt text

Screenshot - Tasks

alt text

How to run

To get the visualizer up and running in your cluster

> docker run -p 9009:9009 -v /var/run/docker.sock:/var/run/docker.sock moimhossain/viswarm

How to develop

This is what you need to do in order to start hacking the codebase

> npm install

It might be the case that you have installed webpack locally and received a webpack command not recognized error. In such scenarios, you can either install webpack globally or run it from local installation by using the following command:

node_modules\.bin\webpack

Start the development server (changes will now update live in browser)

> npm run dev

To view your project, go to: http://localhost:9009/

Info

This application was built with React JS, Redux, Docker Remote API. Therefore, you need to be familiar with these concepts.

Contribution and license

MIT licensed, and open for anything with no obligation. Feel free to use/customize/change it anyway you see fit. Giving me a thumbs up, a token of appreciation will make me very happy!

You can’t perform that action at this time.