You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
2.2 KiB

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