|
|
b28b51 |
# /etc/sysconfig/docker
|
|
|
c4784f |
|
|
|
c4784f |
# Modify these options if you want to change the way the docker daemon runs
|
|
|
b215bf |
OPTIONS='--selinux-enabled'
|
|
|
b215bf |
|
|
|
b215bf |
DOCKER_CERT_PATH=/etc/docker
|
|
|
b215bf |
|
|
|
b215bf |
# If you want to add your own registry to be used for docker search and docker pull use the
|
|
|
b215bf |
# ADD_REGISTRY option to list a set of comma separated registries.
|
|
|
b215bf |
# Note the last registry added will be the first regisry searched.
|
|
|
b215bf |
#
|
|
|
b215bf |
ADD_REGISTRY='--add-registry registry.access.redhat.com'
|
|
|
b215bf |
|
|
|
b215bf |
# If you want to block registries from being used, use the
|
|
|
b215bf |
# BLOCK_REGISTRY option to list a set of comma separated registries, and uncommenting
|
|
|
b215bf |
# it. For example adding docker.io will stop users from downloading images from docker.io
|
|
|
b215bf |
# BLOCK_REGISTRY='--block-registry '
|
|
|
b215bf |
|
|
|
b215bf |
# If you have a registry secured with https but do not have proper certs destributed, you can
|
|
|
b215bf |
# tell docker to not look for full authorization by adding the registry to the
|
|
|
b215bf |
# INSECURE_REGISTRY line and uncommentin it.
|
|
|
b215bf |
# INSECURE_REGISTRY='--insecure-registry'
|
|
|
b215bf |
|
|
|
b215bf |
# On an SELinux system, if you remove the --selinux-enabled option, you
|
|
|
b215bf |
# also need to turn on the docker_transition_unconfined boolean.
|
|
|
b215bf |
# setsebool -P docker_transition_unconfined 1
|
|
|
a2b5ed |
|
|
|
a2b5ed |
# Location used for temporary files, such as those created by
|
|
|
a2b5ed |
# docker load and build operations. Default is /var/lib/docker/tmp
|
|
|
a2b5ed |
# Can be overriden by setting the following environment variable.
|
|
|
a2b5ed |
# DOCKER_TMPDIR=/var/tmp
|
|
|
b215bf |
|
|
|
b215bf |
# Controls the /etc/cron.daily/docker-logrotate cron job status.
|
|
|
b215bf |
# To disable, uncomment the line below.
|
|
|
b215bf |
# LOGROTATE=false
|