dnetmap-0.1.0 is not a library.
dnetmap
dnetmap is a lightweight, fast, and readable CLI tool to inspect Docker networks on your local machine.
It extracts key information such as:
- Network name and ID
- IP range (subnet)
- Associated Linux bridge interface
- Whether the network is linked to a Docker Compose project (and if so, which one)
Perfect for troubleshooting containers, auditing Compose environments, or visualizing your local network topology.
Installation
Prerequisites
- Rust (edition 2021 or later)
- Docker CLI installed and accessible (
docker network inspect, etc.)
Build manually
The binary will be available at:
You will usually MUST execute it as root to be able to communicate with docker
Usage
Basic usage
Example output
Error handling
- If docker is not running or not installed, you'll see a clear error message