2 ## Uncomment this if you want to force overlay/overlay2 as docker storage driver
3 ## Please note that overlay2 is only supported on newer kernels
4 # docker_storage_options: -s overlay2
6 ## Enable docker_container_storage_setup, it will configure devicemapper driver on Centos7 or RedHat7.
7 docker_container_storage_setup: false
9 ## It must be define a disk path for docker_container_storage_setup_devs.
10 ## Otherwise docker-storage-setup will be executed incorrectly.
11 # docker_container_storage_setup_devs: /dev/vdb
13 ## Uncomment this if you want to change the Docker Cgroup driver (native.cgroupdriver)
14 ## Valid options are systemd or cgroupfs, default is systemd
15 # docker_cgroup_driver: systemd
17 ## Only set this if you have more than 3 nameservers:
18 ## If true Kubespray will only use the first 3, otherwise it will fail
19 docker_dns_servers_strict: false
21 # Path used to store Docker data
22 docker_daemon_graph: "/var/lib/docker"
24 ## Used to set docker daemon iptables options to true
25 docker_iptables_enabled: "false"
28 # Rotate container stderr/stdout logs at 50m and keep last 5
29 docker_log_opts: "--log-opt max-size=50m --log-opt max-file=5"
31 # define docker bin_dir
32 docker_bin_dir: "/usr/bin"
34 # keep docker packages after installation; speeds up repeated ansible provisioning runs when '1'
35 # kubespray deletes the docker package on each run, so caching the package makes sense
36 docker_rpm_keepcache: 1
38 ## An obvious use case is allowing insecure-registry access to self hosted registries.
39 ## Can be ipaddress and domain_name.
40 ## example define 172.19.16.11 or mirror.registry.io
41 # docker_insecure_registries:
42 # - mirror.registry.io
45 ## Add other registry,example China registry mirror.
46 # docker_registry_mirrors:
47 # - https://registry.docker-cn.com
48 # - https://mirror.aliyuncs.com
50 ## If non-empty will override default system MountFlags value.
51 ## This option takes a mount propagation flag: shared, slave
52 ## or private, which control whether mounts in the file system
53 ## namespace set up for docker will receive or propagate mounts
54 ## and unmounts. Leave empty for system default
57 ## A string of extra options to pass to the docker daemon.
58 ## This string should be exactly as you wish it to appear.