summaryrefslogtreecommitdiffstats
path: root/roles/docker/templates/daemon.json
blob: a41b7cdbd7f2ccb63d328383e0dc63d732475b58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
    "authorization-plugins": ["rhel-push-plugin"],
    "default-runtime": "oci",
    "containerd": "/run/containerd.sock",
    "disable-legacy-registry": false,
    "exec-opts": ["native.cgroupdriver=systemd"],
    "insecure-registries": {{ l_docker_insecure_registries }},
{% if docker_log_driver is defined  %}
    "log-driver": "{{ docker_log_driver }}",
{%- endif %}
    "log-opts": {{ l_docker_log_options }},
    "runtimes": {
	"oci": {
	    "path": "/usr/libexec/docker/docker-runc-current"
	}
    },
    "selinux-enabled": {{ l_docker_selinux_enabled | lower }},
    "add-registry": {{ l_docker_additional_registries }},
    "block-registry": {{ l_docker_blocked_registries }}
}