How to EXPOSE Port on running container

Or simply use linux builtins…
iptables -t nat -A DOCKER -p tcp --dport 9300 -j DNAT --to-destination 172.17.0.3:9300

5 Likes