docker-ce: fix typo for registry_mirrors uci option

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert 2020-07-29 06:51:01 +02:00
parent f622644211
commit 86dacca843
2 changed files with 3 additions and 3 deletions

View file

@ -120,7 +120,7 @@ process_config() {
json_add_string "log-level" "$log_level" json_add_string "log-level" "$log_level"
[ -z "$bip" ] || json_add_string "bip" "$bip" [ -z "$bip" ] || json_add_string "bip" "$bip"
json_add_array "registry-mirrors" 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_close_array
json_add_array "hosts" json_add_array "hosts"
config_list_foreach globals hosts json_add_array_string config_list_foreach globals hosts json_add_array_string

View file

@ -7,5 +7,5 @@ config globals 'globals'
# If the bip option is changed, dockerd must be restarted. # If the bip option is changed, dockerd must be restarted.
# A service reload is not enough. # A service reload is not enough.
option bip "172.18.01./24" option bip "172.18.01./24"
# list registry_mirror "https://<my-docker-mirror-host>" # list registry_mirrors "https://<my-docker-mirror-host>"
# list registry_mirror "https://hub.docker.com" # list registry_mirrors "https://hub.docker.com"