|
|
b28b51 |
# /etc/sysconfig/docker
|
|
|
c4784f |
|
|
|
c4784f |
# Modify these options if you want to change the way the docker daemon runs
|
|
|
cc6bf7 |
OPTIONS='--selinux-enabled --log-driver=journald --signature-verification=false'
|
|
|
0279f8 |
if [ -z "${DOCKER_CERT_PATH}" ]; then
|
|
|
0279f8 |
DOCKER_CERT_PATH=/etc/docker
|
|
|
0279f8 |
fi
|
|
|
b215bf |
|
|
|
f0cb50 |
# If you want to add your own registry to be used for docker search and docker
|
|
|
f0cb50 |
# pull use the ADD_REGISTRY option to list a set of registries, each prepended
|
|
|
f0cb50 |
# with --add-registry flag. The first registry added will be the first registry
|
|
|
f0cb50 |
# searched.
|
|
|
b0a40a |
ADD_REGISTRY='--add-registry registry.access.redhat.com'
|
|
|
b215bf |
|
|
|
f0cb50 |
# If you want to block registries from being used, uncomment the BLOCK_REGISTRY
|
|
|
f0cb50 |
# option and give it a set of registries, each prepended with --block-registry
|
|
|
f0cb50 |
# flag. For example adding docker.io will stop users from downloading images
|
|
|
f0cb50 |
# from docker.io
|
|
|
f0cb50 |
# BLOCK_REGISTRY='--block-registry'
|
|
|
b215bf |
|
|
|
f0cb50 |
# If you have a registry secured with https but do not have proper certs
|
|
|
f0cb50 |
# distributed, you can tell docker to not look for full authorization by
|
|
|
f0cb50 |
# adding the registry to the INSECURE_REGISTRY line and uncommenting 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
|
|
|
78f495 |
#
|
|
|
78f495 |
|
|
|
78f495 |
# docker-latest daemon can be used by starting the docker-latest unitfile.
|
|
|
cc6bf7 |
# To use docker-latest client, uncomment below lines
|
|
|
78f495 |
#DOCKERBINARY=/usr/bin/docker-latest
|
|
|
478cdc |
#DOCKERDBINARY=/usr/bin/dockerd-latest
|
|
|
cc6bf7 |
#DOCKER_CONTAINERD_BINARY=/usr/bin/docker-containerd-latest
|
|
|
cc6bf7 |
#DOCKER_CONTAINERD_SHIM_BINARY=/usr/bin/docker-containerd-shim-latest
|