Merge pull request #15007 from cles/arch-systemd-network-issue

Add arch install docs warning about systemd-network
This commit is contained in:
moxiegirl 2015-07-27 09:22:01 -07:00
Родитель a65f7acbbf 26fa9b0d0d
Коммит 6c0c6b120a
1 изменённых файлов: 20 добавлений и 0 удалений

Просмотреть файл

@ -66,6 +66,26 @@ If you need to add an HTTP Proxy, set a different directory or partition for the
Docker runtime files, or make other customizations, read our systemd article to
learn how to [customize your systemd Docker daemon options](/articles/systemd/).
## Running Docker with a manually-defined network
If you manually configure your network using `systemd-network` version 220 or
higher, containers you start with Docker may be unable to access your network.
Beginning with version 220, the forwarding setting for a given network
(`net.ipv4.conf.<interface>.forwarding`) defaults to *off*. This setting
prevents IP forwarding. It also conflicts with Docker which enables the
`net.ipv4.conf.all.forwarding` setting within a container.
To work around this, edit the `<interface>.network` file in
`/etc/systemd/network/` on your Docker host add the following block:
```
[Network]
...
IPForward=kernel
...
```
This configuration allows IP forwarding from the container as expected.
## Uninstallation
To uninstall the Docker package: