From 03b9ffa74fdc7e685d19f78a37ea053942614bbf Mon Sep 17 00:00:00 2001 From: Steve Milner Date: Thu, 11 May 2017 11:46:16 -0400 Subject: Remove unused daemon.json keys Instead of providing every possible key in the daemon.json configuration file, this update only provides keys which are actively set/used by the installer. --- roles/docker/templates/daemon.json | 45 -------------------------------------- 1 file changed, 45 deletions(-) (limited to 'roles/docker') diff --git a/roles/docker/templates/daemon.json b/roles/docker/templates/daemon.json index bebdd3cb2..c607e6afe 100644 --- a/roles/docker/templates/daemon.json +++ b/roles/docker/templates/daemon.json @@ -1,65 +1,20 @@ - { - "api-cors-header": "", "authorization-plugins": ["rhel-push-plugin"], - "bip": "", - "bridge": "", - "cgroup-parent": "", - "cluster-store": "", - "cluster-store-opts": {}, - "cluster-advertise": "", - "debug": true, - "default-gateway": "", - "default-gateway-v6": "", "default-runtime": "oci", "containerd": "/run/containerd.sock", - "default-ulimits": {}, "disable-legacy-registry": false, - "dns": [], - "dns-opts": [], - "dns-search": [], "exec-opts": ["native.cgroupdriver=systemd"], - "exec-root": "", - "fixed-cidr": "", - "fixed-cidr-v6": "", - "graph": "", - "group": "", - "hosts": [], - "icc": false, "insecure-registries": {{ l_docker_insecure_registries }}, - "ip": "0.0.0.0", - "iptables": false, - "ipv6": false, - "ip-forward": false, - "ip-masq": false, - "labels": [], - "live-restore": true, {% if docker_log_driver is defined %} "log-driver": "{{ docker_log_driver }}", {%- endif %} - "log-level": "", "log-opts": {{ l_docker_log_options }}, - "max-concurrent-downloads": 3, - "max-concurrent-uploads": 5, - "mtu": 0, - "oom-score-adjust": -500, - "pidfile": "", - "raw-logs": false, - "registry-mirrors": [], "runtimes": { "oci": { "path": "/usr/libexec/docker/docker-runc-current" } }, "selinux-enabled": {{ l_docker_selinux_enabled | lower }}, - "storage-driver": "", - "storage-opts": [], - "tls": true, - "tlscacert": "", - "tlscert": "", - "tlskey": "", - "tlsverify": true, - "userns-remap": "", "add-registry": {{ l_docker_additional_registries }}, "block-registry": {{ l_docker_blocked_registries }}, "userland-proxy-path": "/usr/libexec/docker/docker-proxy-current" -- cgit v1.2.3 From 09448328fe526006619c970d4d2567e65cbff448 Mon Sep 17 00:00:00 2001 From: Steve Milner Date: Thu, 11 May 2017 11:55:33 -0400 Subject: doc: Add link to daemon.json upstream doc --- roles/docker/README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'roles/docker') diff --git a/roles/docker/README.md b/roles/docker/README.md index f25ca03cd..4a9f21f22 100644 --- a/roles/docker/README.md +++ b/roles/docker/README.md @@ -3,6 +3,8 @@ Docker Ensures docker package or system container is installed, and optionally raises timeout for systemd-udevd.service to 5 minutes. +daemon.json items may be found at https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-configuration-file + Requirements ------------ -- cgit v1.2.3