xoxys.docker_engine/templates/etc/sysconfig/docker.j2
Robert Kaussow 8c7732b555
Some checks failed
continuous-integration/drone/push Build is failing
refactor: migrate to docker ce (#4)
2023-02-18 15:14:39 +01:00

14 lines
498 B
Django/Jinja

{{ ansible_managed | comment }}
OPTIONS='{{' --userns-remap=' + dockerengine_nsremap_user + ':' + dockerengine_nsremap_user if dockerengine_usernamespace_enabled | bool else '' }}'
# Proxy settings
{% if dockerengine_http_proxy is defined %}
HTTP_PROXY={{ dockerengine_http_proxy }}
{% endif %}
{% if dockerengine_https_proxy is defined %}
HTTPS_PROXY={{ dockerengine_https_proxy }}
{% endif %}
{% if dockerengine_no_proxy is defined %}
NO_PROXY={{ dockerengine_no_proxy|join(',') }}"
{% endif %}