|
@ -144,14 +144,14 @@ container_manager: docker |
|
|
|
|
|
|
|
|
## Uncomment this if you want to force overlay/overlay2 as docker storage driver |
|
|
## Uncomment this if you want to force overlay/overlay2 as docker storage driver |
|
|
## Please note that overlay2 is only supported on newer kernels |
|
|
## Please note that overlay2 is only supported on newer kernels |
|
|
#docker_storage_options: -s overlay2 |
|
|
|
|
|
|
|
|
# docker_storage_options: -s overlay2 |
|
|
|
|
|
|
|
|
## Enable docker_container_storage_setup, it will configure devicemapper driver on Centos7 or RedHat7. |
|
|
## Enable docker_container_storage_setup, it will configure devicemapper driver on Centos7 or RedHat7. |
|
|
docker_container_storage_setup: false |
|
|
docker_container_storage_setup: false |
|
|
|
|
|
|
|
|
## It must be define a disk path for docker_container_storage_setup_devs. |
|
|
## It must be define a disk path for docker_container_storage_setup_devs. |
|
|
## Otherwise docker-storage-setup will be executed incorrectly. |
|
|
## Otherwise docker-storage-setup will be executed incorrectly. |
|
|
#docker_container_storage_setup_devs: /dev/vdb |
|
|
|
|
|
|
|
|
# docker_container_storage_setup_devs: /dev/vdb |
|
|
|
|
|
|
|
|
## Uncomment this if you have more than 3 nameservers, then we'll only use the first 3. |
|
|
## Uncomment this if you have more than 3 nameservers, then we'll only use the first 3. |
|
|
docker_dns_servers_strict: false |
|
|
docker_dns_servers_strict: false |
|
@ -166,18 +166,15 @@ docker_iptables_enabled: "false" |
|
|
# Rotate container stderr/stdout logs at 50m and keep last 5 |
|
|
# Rotate container stderr/stdout logs at 50m and keep last 5 |
|
|
docker_log_opts: "--log-opt max-size=50m --log-opt max-file=5" |
|
|
docker_log_opts: "--log-opt max-size=50m --log-opt max-file=5" |
|
|
|
|
|
|
|
|
# define docker bin_dir |
|
|
|
|
|
docker_bin_dir: "/usr/bin" |
|
|
|
|
|
|
|
|
|
|
|
## An obvious use case is allowing insecure-registry access to self hosted registries. |
|
|
## An obvious use case is allowing insecure-registry access to self hosted registries. |
|
|
## Can be ipddress and domain_name. |
|
|
## Can be ipddress and domain_name. |
|
|
## example define 172.19.16.11 or mirror.registry.io |
|
|
## example define 172.19.16.11 or mirror.registry.io |
|
|
#insecure_registries: |
|
|
|
|
|
|
|
|
# insecure_registries: |
|
|
# - mirror.registry.io |
|
|
# - mirror.registry.io |
|
|
# - 172.19.16.11 |
|
|
# - 172.19.16.11 |
|
|
|
|
|
|
|
|
## Add other registry,example China registry mirror. |
|
|
## Add other registry,example China registry mirror. |
|
|
#registry_mirrors: |
|
|
|
|
|
|
|
|
# registry_mirrors: |
|
|
# - https://registry.docker-cn.com |
|
|
# - https://registry.docker-cn.com |
|
|
# - https://mirror.aliyuncs.com |
|
|
# - https://mirror.aliyuncs.com |
|
|
|
|
|
|
|
@ -186,7 +183,7 @@ docker_bin_dir: "/usr/bin" |
|
|
## or private, which control whether mounts in the file system |
|
|
## or private, which control whether mounts in the file system |
|
|
## namespace set up for docker will receive or propagate mounts |
|
|
## namespace set up for docker will receive or propagate mounts |
|
|
## and unmounts. Leave empty for system default |
|
|
## and unmounts. Leave empty for system default |
|
|
#docker_mount_flags: |
|
|
|
|
|
|
|
|
# docker_mount_flags: |
|
|
|
|
|
|
|
|
## A string of extra options to pass to the docker daemon. |
|
|
## A string of extra options to pass to the docker daemon. |
|
|
## This string should be exactly as you wish it to appear. |
|
|
## This string should be exactly as you wish it to appear. |
|
|