wiki:public:docker_default_networks
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wiki:public:docker_default_networks [2018/09/27 04:43] – jrdalrymple | wiki:public:docker_default_networks [2018/09/27 05:11] (current) – jrdalrymple | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ========= docker-compose Routing Holes ========= | ||
| + | |||
| + | |||
| + | ===== The disappearance of traffic destined for 172.18.0.0/ | ||
| + | |||
| + | |||
| In using docker compose to modernize some of my apps (including this wiki) I discovered some network awkwardness. The first problem I experienced was when I was setting up a new Wordpress, using the following docker-compose.yml: | In using docker compose to modernize some of my apps (including this wiki) I discovered some network awkwardness. The first problem I experienced was when I was setting up a new Wordpress, using the following docker-compose.yml: | ||
| Line 30: | Line 36: | ||
| </ | </ | ||
| - | <file yaml docker-compose.yml> | + | Being largely unchanged from the YAML provided on the [[https:// |
| + | |||
| + | The solution to this particular networking problem comes from modifying ''/ | ||
| + | |||
| + | <file json daemon.json> | ||
| + | { | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | </ | ||
| + | After restarting the docker daemon I still had to //down// and //up// my Wordpress to get the reconfigured network to function properly. | ||
| + | |||
| + | |||
| + | ===== The disappearance of traffic destined for 172.17.0.0/ | ||
| + | Moving past the last problem took me directly into my next problem. Wordpress came up and there were no ugly log entries, however I still couldn' | ||
| + | |||
| + | So the problem is the same, but in this case the place to fix it is different. Moreover it seems this is something of a " | ||
| + | <file yaml docker-compose.yml | ||
| version: ' | version: ' | ||
| Line 74: | Line 97: | ||
| - subnet: 10.255.254.0/ | - subnet: 10.255.254.0/ | ||
| </ | </ | ||
| + | Again, after this process I had to //down// and //up//, but directly afterwards all my life was good. | ||
wiki/public/docker_default_networks.1538023400.txt.gz · Last modified: 2018/09/27 04:43 by jrdalrymple