Sign inSign up

bondarslavik/docker-swarm-visualizer

By bondarslavik

•Updated about 2 months ago

Docker Swarm Visualizer - is a tool for visualizing the real-time state of a Docker Swarm cluster. I

Image
0

10K+

bondarslavik/docker-swarm-visualizer repository overview

⁠Docker Swarm Visualizer

Build status Release

⁠Description

Docker Swarm Visualizer - is a tool for visualizing the real-time state of a Docker Swarm cluster. It displays the worker nodes and running containers, making it easier to administer and monitor the cluster with a clear and intuitive interface. This project is a visualizer for Docker Swarm, written in TypeScript and JavaScript. It uses Node.js and Express for the backend.

app screenshot

⁠Requirements

  • Node.js
  • npm

⁠Installation

  1. Clone the repository:

    git clone https://github.com/bondarslavik/docker-swarm-visualizer.git
    cd docker-swarm-visualizer
    
  2. Install dependencies:

    npm install
    

⁠Scripts

  • build: Compile TypeScript code.

    npm run build
    
  • bump: Update dependencies to the latest versions.

    npm run bump
    
  • dev: Run in development mode with automatic restart.

    npm run dev
    
  • start: Run in production mode.

    npm start
    
  • test: Run tests.

    npm test
    

⁠Using Docker

⁠Run dockerhub image
docker run --rm -it \
-p 80:80 \
-v /var/run/docker.sock:/var/run/docker.sock \
bondarslavik/docker-swarm-visualizer:latest
⁠Build and run locally
  1. Build the Docker image:

    docker build -t docker-swarm-visualizer .
    
  2. Run the container:

    docker run --rm -it -p 80:80 -v /var/run/docker.sock:/var/run/docker.sock docker-swarm-visualizer
    

⁠Project Structure

  • src/ - Source code of the project.
  • dist/ - Compiled code.
  • public/ - Static files.

Tag summary

Content type

Image

Digest

sha256:3de2c84dc…

Size

77.6 MB

Last updated

about 2 months ago

docker pull bondarslavik/docker-swarm-visualizer