How to use this developer tool
- Paste the requested YAML or key/value input.
- Adjust the available options for the target output.
- Select Map Ports or press Ctrl/Cmd + Enter.
- Review findings, then copy or download the result.
Inspect published ports across every service in a Docker Compose file. The mapper normalizes short port syntax, identifies host IPs, published and target ports, and protocol, then highlights likely host-port collisions. This is a static view of the YAML—not a scan of your machine—so it works offline and keeps infrastructure configuration in the browser.
Extracts short- and long-form port declarations, creates a service-to-port table, and detects repeated host IP, published port, and protocol combinations.
The result is generated locally and should be reviewed before deployment.
The Sample button loads a representative input. Running it produces the same structured output displayed in the result panel, including counts and any findings.
services:
web:
image: nginx
ports:
- "127.0.0.1:8080:80/tcp"
- "8443:443"
dns:
image: coredns/coredns
ports:
- "53:53/udp"A missing host IP is treated as all interfaces. TCP is assumed when no protocol is supplied. Long-form target, published, host_ip, and protocol fields are recognized.
Port ranges, variables, runtime allocation, network_mode, and ports opened only through expose are not fully evaluated.
The result follows the static rules described on this page. Review finding 1 in context and confirm it with the relevant Docker or Kubernetes command before deployment.
The result follows the static rules described on this page. Review finding 2 in context and confirm it with the relevant Docker or Kubernetes command before deployment.
The result follows the static rules described on this page. Review finding 3 in context and confirm it with the relevant Docker or Kubernetes command before deployment.
Input is processed in your browser. The page does not make a network request with the configuration, but downloaded output and browser history should still be handled according to your security policy.
The result follows the static rules described on this page. Review finding 5 in context and confirm it with the relevant Docker or Kubernetes command before deployment.