Reputation: 21
I want to open port on docker container. but not using docker run -p option. because container have assigned independent IP address by bridge network. so my system don't need port forwarding.
for example. host OS has IP 172.30.1.2 container has IP 172.30.1.3 so I want to connect the container with 172.30.1.3:80 directly.
then, I tried something using iptables. but it is denied.
are there some way possible?
Upvotes: 2
Views: 7821