This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
dndwebapp [2020/02/21 21:35] chasty2 [Back End Documentation] |
dndwebapp [2020/02/21 21:36] chasty2 [Back End Documentation] |
||
---|---|---|---|
Line 46: | Line 46: | ||
docker pull mysql:5.7 | docker pull mysql:5.7 | ||
- | ## Insert firewall rule for docker container and save. Note that the docker daemon must be started after iptables is running. If iptables or a firewall is not running this is not necessary. | + | ## Insert iptables firewall rule for docker container at port 3306 and save. Note that the docker daemon must be started after iptables is running. If iptables or a firewall is not running this is not necessary. |
iptables -A INPUT -i docker0 -p tcp -m tcp --dport 3306 -j ACCEPT | iptables -A INPUT -i docker0 -p tcp -m tcp --dport 3306 -j ACCEPT |