Sign inSign up

thomasdotsafe/docker-network-graph

By thomasdotsafe

•Updated 9 months ago

This application dynamically maps containers to their networks.

Image
Networking
Developer tools
Monitoring & observability
0

3.6K

thomasdotsafe/docker-network-graph repository overview

Python (Flask) + Docker SDK for Python. Handles data fetching.

⁠Api Mode

docker run -p 5000:5000 -v /var/run/docker.sock:/var/run/docker.sock:ro thomasdotsafe/docker-network-graph

Datas are exposed through http://localhost:5000/api/graph⁠

⁠Cli Mode

Bind docker.sock : it is needed to inspect networks and containers.

Bind a folder ('./' in this example) to access resulting json file.

docker run -v ./:/app/data -v /var/run/docker.sock:/var/run/docker.sock:ro thomasdotsafe/docker-network-graph python app.py /app/data/graph.json

Built to run with Cytoscape.js for smooth graph interaction.

Tag summary

Content type

Image

Digest

sha256:065c39406…

Size

47.2 MB

Last updated

9 months ago

docker pull thomasdotsafe/docker-network-graph