From a3131e271a7f39b524b532788dd61b7278b8e7ed Mon Sep 17 00:00:00 2001 From: Hector S Date: Tue, 12 May 2020 22:46:21 +0200 Subject: [PATCH] Removed env vars DOCKER_NETWORK_OPTIONS and INSECURE_REGISTRY from docker.service.j2 (#6126) --- roles/container-engine/docker/templates/docker.service.j2 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/roles/container-engine/docker/templates/docker.service.j2 b/roles/container-engine/docker/templates/docker.service.j2 index 726ce70af..8466b7fd6 100644 --- a/roles/container-engine/docker/templates/docker.service.j2 +++ b/roles/container-engine/docker/templates/docker.service.j2 @@ -30,9 +30,7 @@ ExecStart={{ docker_bin_dir }}/docker{% if installed_docker_version.stdout is ve {% endif %} $DOCKER_OPTS \ $DOCKER_STORAGE_OPTIONS \ - $DOCKER_NETWORK_OPTIONS \ - $DOCKER_DNS_OPTIONS \ - $INSECURE_REGISTRY + $DOCKER_DNS_OPTIONS {% if not is_ostree and systemd_version.stdout|int >= 226 %} TasksMax=infinity {% endif %}