Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save supermasita/8935da063725f456de45a7ebe86e59ad to your computer and use it in GitHub Desktop.
Save supermasita/8935da063725f456de45a7ebe86e59ad to your computer and use it in GitHub Desktop.
Docker - Adding port to already runnning container (example)
sudo iptables -t nat -A DOCKER -p tcp --dport 443 -j DNAT --to-destination 172.17.0.1:443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment