User Tools

Site Tools


docker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
docker [2018/07/24 13:27]
k2patel
docker [2018/07/24 13:28] (current)
k2patel [Host Firewall]
Line 19: Line 19:
  
 <code bash> <code bash>
 +# Forwarding port traffic
 firewall-cmd --permanent --zone=public --add-forward-port=port=3030:​proto=tcp:​toport=3030 firewall-cmd --permanent --zone=public --add-forward-port=port=3030:​proto=tcp:​toport=3030
  
 +# Allowing access from specific host
 firewall-cmd --permanent --zone=public --add-rich-rule="​rule ​ firewall-cmd --permanent --zone=public --add-rich-rule="​rule ​
 family="​ipv4"​ \ family="​ipv4"​ \
docker.txt ยท Last modified: 2018/07/24 13:28 by k2patel