Skip to content

Commit 35aebdc

Browse files
committed
Add fedora 22 install docs warning about systemd-network
With systemd in version 219 IP forwarding should be forced in the interface configuration file. Signed-off-by: yyekhlef <[email protected]>
1 parent f224a9f commit 35aebdc

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/installation/fedora.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ learn how to [customize your Systemd Docker daemon options](/articles/systemd/).
208208

209209
## Running Docker with a manually-defined network
210210

211-
If you manually configure your network using `systemd-network` with fedora version 22, containers you start with Docker may be unable to access your network.
211+
If you manually configure your network using `systemd-network` with `systemd` version 219 or higher, containers you start with Docker may be unable to access your network.
212212
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.
213213

214214
To work around this, edit the `<interface>.network` file in
@@ -218,6 +218,8 @@ To work around this, edit the `<interface>.network` file in
218218
[Network]
219219
...
220220
IPForward=kernel
221+
# OR
222+
IPForward=true
221223
...
222224
```
223225

0 commit comments

Comments
 (0)