parametrized iptables options for docker daemon

This commit is contained in:
neith00
2018-06-12 15:50:27 +02:00
parent cf8e9eed69
commit f2f1e7f9d1
3 changed files with 7 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
[Service]
Environment="DOCKER_OPTS={{ docker_options|default('') }} --iptables=false"
Environment="DOCKER_OPTS={{ docker_options|default('') }} --iptables={{ docker_iptables_enabled | default('false') }}"
{% if docker_mount_flags is defined and docker_mount_flags != "" %}
MountFlags={{ docker_mount_flags }}
{% endif %}