Docker

docker run –name mynginx1 -P -d nginx

sudo iptables -A INPUT -p tcp -m tcp –dport 49154 -j ACCEPT

docker exec -i -t c2fe312280ca bash

sudo iptables -A INPUT -p tcp -m tcp –dport 80 -j ACCEPT

docker run –name mynginx1 -d nginx