roles/docker: Install and set up Docker daemon
The *docker* role configures the Docker daemon on the managed machine.
This commit is contained in:
18
roles/docker/templates/docker.sysconfig.j2
Normal file
18
roles/docker/templates/docker.sysconfig.j2
Normal file
@@ -0,0 +1,18 @@
|
||||
# /etc/sysconfig/docker
|
||||
|
||||
# Modify these options if you want to change the way the docker daemon runs
|
||||
OPTIONS='{% if docker_allow_unprivileged|bool %}-G docker {% endif %}--selinux-enabled --log-driver=journald --signature-verification=false'
|
||||
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.
|
||||
#
|
||||
|
||||
# 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
|
||||
Reference in New Issue
Block a user