docker-ce: fix typo for registry_mirrors uci option
authorFlorian Eckert <fe@dev.tdt.de>
Wed, 29 Jul 2020 04:51:01 +0000 (06:51 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Wed, 29 Jul 2020 11:09:08 +0000 (13:09 +0200)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
utils/docker-ce/files/dockerd.init
utils/docker-ce/files/etc/config/dockerd

index b757c27350850c9da289f8e1a4d3a8ba372b377f..367a8551f0da33a3a91f1fb51d933a9896406fa3 100644 (file)
@@ -120,7 +120,7 @@ process_config() {
        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
index 1f06731b169e2b4a052fab9c707e62add89a5c23..332ddab21e9ec8ec717c957299af93e91fed8d69 100644 (file)
@@ -7,5 +7,5 @@ config globals 'globals'
        # 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"