From 35aebdc803e2ffedf3208f0fd27a7652562fc007 Mon Sep 17 00:00:00 2001 From: Youcef YEKHLEF Date: Tue, 4 Aug 2015 17:02:59 +0200 Subject: [PATCH] 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 --- docs/installation/fedora.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/installation/fedora.md b/docs/installation/fedora.md index 2378320ab5..b1bdb19cb2 100644 --- a/docs/installation/fedora.md +++ b/docs/installation/fedora.md @@ -208,7 +208,7 @@ 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` with fedora version 22, containers you start with Docker may be unable to access your network. +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. Beginning with version 220, the forwarding setting for a given network (`net.ipv4.conf..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 `.network` file in @@ -218,6 +218,8 @@ To work around this, edit the `.network` file in [Network] ... IPForward=kernel +# OR +IPForward=true ... ```