From 73e08286f920881a431fa7befd3909e72303680b Mon Sep 17 00:00:00 2001 From: Ramon Brooker Date: Tue, 2 Aug 2016 15:21:59 -0400 Subject: [PATCH] deal with firewalld/docker startup issues added the firewalld.service symbol in the After line docker will always start after firewalld, thus eliminating the issue of firewall blocking all mapped traffic. Signed-off-by: Ramon Brooker Signed-off-by: Sebastiaan van Stijn --- contrib/init/systemd/docker.service | 2 +- contrib/init/systemd/docker.service.rpm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/init/systemd/docker.service b/contrib/init/systemd/docker.service index 5024c96525..8bfed93c75 100644 --- a/contrib/init/systemd/docker.service +++ b/contrib/init/systemd/docker.service @@ -1,7 +1,7 @@ [Unit] Description=Docker Application Container Engine Documentation=https://docs.docker.com -After=network.target docker.socket +After=network.target docker.socket firewalld.service Requires=docker.socket [Service] diff --git a/contrib/init/systemd/docker.service.rpm b/contrib/init/systemd/docker.service.rpm index 08e90da81e..6e41892399 100644 --- a/contrib/init/systemd/docker.service.rpm +++ b/contrib/init/systemd/docker.service.rpm @@ -1,7 +1,7 @@ [Unit] Description=Docker Application Container Engine Documentation=https://docs.docker.com -After=network.target +After=network.target firewalld.service [Service] Type=notify