docker run --network host
When running using --network host there is no need to map the ports.
All the docker container ports will be available since the network host mode
makes the container use the host's network stack.
-p 8080:80/tcp -p 8080:80/udp Map TCP port 80 in the container to TCP port 8080 on the Docker host, and map UDP port 80 in the container to UDP port 8080 on the Docker host.