Hello everyone,
I’m looking for a supported, minimally privileged, read-only method to inspect the active Docker Engine’s Linux network namespace on Docker Desktop for Windows.
Environment:
-
Docker Desktop: 4.95.0
-
Docker Engine: 29.8.2
-
Backend: WSL2
-
Architecture: Linux/amd64
-
Docker context:
desktop-linux -
Host networking: Disabled
What I need
For a local security validation, I need to obtain evidence of:
-
IPv4/IPv6 interfaces and addresses in the active Engine network namespace.
-
All relevant Linux routing tables, not just the main table.
-
FIB policy rules, including priorities, selectors and referenced routing tables.
-
Reliable confirmation that the information comes from the actual Engine network namespace, rather than a container or an unrelated WSL namespace.
-
Complete output without truncation.
Security constraints
I would prefer a method that does not require:
-
Privileged containers or
CAP_SYS_ADMIN. -
Enabling Docker Desktop host networking.
-
Changing Docker Desktop settings.
-
Starting additional containers or WSL distributions.
-
Collecting or uploading unrelated diagnostic information.
I understand that these constraints may make the request impossible with currently supported interfaces.
What I’ve investigated
Windows routing information and docker network inspect do not expose all internal Engine routing and policy-rule state.
Ordinary container-level or WSL networking information also cannot be assumed to represent the Engine’s active network namespace.
Docker’s automated support assistant indicated that no officially documented method matching these requirements is currently known.
My questions
-
Is there an officially supported interface or documented diagnostic method for Docker Desktop 4.95.0 with the WSL2 backend that provides this information?
-
If not, is there a lower-privilege alternative that can establish the correct namespace identity and collect the complete routing and FIB-rule evidence?
-
Would such a method start helper processes, modify system state, or require elevated permissions?
-
Is there an official Docker documentation reference or support channel that can clarify this?
I’m requesting guidance only at this stage, not instructions to modify the existing environment without reviewing the security implications.
Thank you for your help!