Jump to content

Docker (software): Difference between revisions

Line 171: Line 171:
{
{
   "default-address-pools":[
   "default-address-pools":[
     {"base":"172.17.0.0/12","size":24}
     {"base":"172.16.0.0/12","size":24}
   ]
   ]
}
}
Line 179: Line 179:
Thus it won't overflow to 192.168.0.0/24.<br>
Thus it won't overflow to 192.168.0.0/24.<br>
Next, in your firewall, allow connections to your localhost from 172.16.0.0/12.
Next, in your firewall, allow connections to your localhost from 172.16.0.0/12.
<pre>
ufw allow from 172.16.0.0/12 to any comment "from_docker"
</pre>


==Resources==
==Resources==
* [https://www.youtube.com/watch?v=fqMOX6JJhGo freeCodeCamp.org Docker Tutorial for Beginners Video]
* [https://www.youtube.com/watch?v=fqMOX6JJhGo freeCodeCamp.org Docker Tutorial for Beginners Video]