Signed-off-by: Florian Eckert <fe@dev.tdt.de>
json_add_string "log-level" "$log_level"
[ -z "$bip" ] || json_add_string "bip" "$bip"
json_add_array "registry-mirrors"
- config_list_foreach globals registry_mirror json_add_array_string
+ config_list_foreach globals registry_mirrors json_add_array_string
json_close_array
json_add_array "hosts"
config_list_foreach globals hosts json_add_array_string
# If the bip option is changed, dockerd must be restarted.
# A service reload is not enough.
option bip "172.18.01./24"
-# list registry_mirror "https://<my-docker-mirror-host>"
-# list registry_mirror "https://hub.docker.com"
+# list registry_mirrors "https://<my-docker-mirror-host>"
+# list registry_mirrors "https://hub.docker.com"