Is there a tool to scan network of docker containers in cluster and generate a network diagram?

I have an application running in docker container which is orchestrated with kubernetes and sometimes it is difficult to understand and see whole network image. I am looking for a tool which scans and generates a network diagram where one can see the docker virtual networks, virtual interfaces, port mappings etc.

The tool preferably runs on Linux, but Windows OS is also ok. Open source would be great, I also consider paid version.


2 Answers 2


Some time ago I stumbled across a very same task, and I couldn't find just right tool, so I wrote my own: https://github.com/s0rg/decompose

I hope that helps.

  • You could improve your answer by explaining it and / or providing a screenshot Sep 13, 2023 at 22:10

I haven't tried it, but I found this question in the same search as I found this, which seems to be close to what you are looking for. It doesn't look like it addresses key details like port mappings though. https://github.com/LeoVerto/docker-network-graph

  • Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
    – Community Bot
    Mar 11, 2023 at 5:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.