Added docker_mount_flags option (fixes #2624)

This commit is contained in:
Anatoly Rugalev
2018-04-15 15:20:02 +02:00
parent 76fc786c07
commit eae4fa040a
3 changed files with 17 additions and 0 deletions

View File

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