Docker Desktop and Portability

Desktop host and service networking

Distinguish host forwarding, peer service routing and container-to-host traffic. Desktop host networking is opt-in from 4.34, limited to supported layer-4 TCP/UDP traffic.

Formal Syntax & Structure

docker syntaxdocker
Host published port / container service port / host.docker.internal

Working Example

Example Snippetdocker
Synthetic requested mapping 127.0.0.1:18080:8080.
Docker Reference