44 lines
1.7 KiB
Django/Jinja
44 lines
1.7 KiB
Django/Jinja
## {{ ansible_managed }}
|
|
# /etc/sysconfig/docker
|
|
|
|
# Modify these options if you want to change the way the docker daemon runs
|
|
OPTIONS='{{ dockerengine_cli_options | prefix | join(' ') }}{{ ' --userns-remap='+dockerengine_nsremap_user+':'+dockerengine_nsremap_user if dockerengine_usernamespace_enabled | bool else '' }}'
|
|
if [ -z "${DOCKER_CERT_PATH}" ]; then
|
|
DOCKER_CERT_PATH=/etc/docker
|
|
fi
|
|
|
|
# Do not add registries in this file anymore. Use /etc/containers/registries.conf
|
|
# from the atomic-registries package.
|
|
#
|
|
|
|
# On an SELinux system, if you remove the --selinux-enabled option, you
|
|
# also need to turn on the docker_transition_unconfined boolean.
|
|
# setsebool -P docker_transition_unconfined 1
|
|
|
|
# Location used for temporary files, such as those created by
|
|
# docker load and build operations. Default is /var/lib/docker/tmp
|
|
# Can be overriden by setting the following environment variable.
|
|
# DOCKER_TMPDIR=/var/tmp
|
|
|
|
# Controls the /etc/cron.daily/docker-logrotate cron job status.
|
|
# To disable, uncomment the line below.
|
|
# LOGROTATE=false
|
|
|
|
# docker-latest daemon can be used by starting the docker-latest unitfile.
|
|
# To use docker-latest client, uncomment below lines
|
|
#DOCKERBINARY=/usr/bin/docker-latest
|
|
#DOCKERDBINARY=/usr/bin/dockerd-latest
|
|
#DOCKER_CONTAINERD_BINARY=/usr/bin/docker-containerd-latest
|
|
#DOCKER_CONTAINERD_SHIM_BINARY=/usr/bin/docker-containerd-shim-latest
|
|
|
|
# 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 %}
|