Signed-off-by: Florian Eckert <redacted>
json_add_array "registry-mirrors"
config_list_foreach globals registry_mirror json_add_array_string
json_close_array
+ json_add_array "hosts"
+ config_list_foreach globals hosts json_add_array_string
+ json_close_array
mkdir -p /tmp/dockerd
json_dump > "$DOCKERD_CONF"
# option alt_config_file "/etc/docker/daemon.json"
option data_root "/opt/docker/"
option log_level "warn"
+ option hosts "unix://var/run/docker.sock"
# list registry_mirror "https://<my-docker-mirror-host>"
# list registry_mirror "https://hub.docker.com"