This application dynamically maps containers to their networks.
3.6K
Python (Flask) + Docker SDK for Python. Handles data fetching.
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
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.
Content type
Image
Digest
sha256:065c39406…
Size
47.2 MB
Last updated
9 months ago
docker pull thomasdotsafe/docker-network-graph