Jump to content

Docker (software): Difference between revisions

Line 173: Line 173:
}
}
</syntaxhighlight>
</syntaxhighlight>
This will force docker to assign subnets from 172.17.0.0/24 to 172.32.255.0/24 instead of 172.17.0.0/12 to 172.32.0.0/12.<br>
This will force docker to assign subnets from 172.16.0.0/24 to 172.32.255.0/24 instead of 172.16.0.0/12 to 172.32.0.0/12.<br>
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.17.0.0/12.
Next, in your firewall, allow connections to your localhost from 172.17.0.0/12.