From 86dacca84381daae6771cb06af20739b35c1ac2f Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Wed, 29 Jul 2020 06:51:01 +0200 Subject: [PATCH] docker-ce: fix typo for registry_mirrors uci option Signed-off-by: Florian Eckert --- utils/docker-ce/files/dockerd.init | 2 +- utils/docker-ce/files/etc/config/dockerd | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/docker-ce/files/dockerd.init b/utils/docker-ce/files/dockerd.init index b757c27350..367a8551f0 100644 --- a/utils/docker-ce/files/dockerd.init +++ b/utils/docker-ce/files/dockerd.init @@ -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 diff --git a/utils/docker-ce/files/etc/config/dockerd b/utils/docker-ce/files/etc/config/dockerd index 1f06731b16..332ddab21e 100644 --- a/utils/docker-ce/files/etc/config/dockerd +++ b/utils/docker-ce/files/etc/config/dockerd @@ -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://" -# list registry_mirror "https://hub.docker.com" +# list registry_mirrors "https://" +# list registry_mirrors "https://hub.docker.com" -- 2.30.2