From 7ae8e7d740883d6aa5b693088f8f4a24fd346ee7 Mon Sep 17 00:00:00 2001 From: Bernardo Marques Date: Thu, 23 Dec 2021 16:32:39 +0000 Subject: [PATCH] Update readme insecure flags (#1811) * Clarify usage of --skip-tls-verify-registry argument Referring to --skip-tls-verify-registry as a "flag" is misleading since command line flags usually require no value. Thus, the documentation is updated to match the behavior of the command line argument. * Clarify usage of --insecure-registry argument Referring to --insecure-registry as a "flag" is misleading since command line flags usually require no value. Thus, the documentation is updated to match the behavior of the command line argument. --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bdd413061..0ed6e4d7f 100644 --- a/README.md +++ b/README.md @@ -750,7 +750,7 @@ Set this flag if you want to pull images from a plain HTTP registry. It is suppo #### --insecure-registry -Set this flag to use plain HTTP requests when accessing a registry. It is supposed to be used for testing purposes only and should not be used in production! +You can set `--insecure-registry ` to use plain HTTP requests when accessing the specified registry. It is supposed to be used for testing purposes only and should not be used in production! You can set it multiple times for multiple registries. #### --label @@ -827,8 +827,7 @@ Set this flag to skip TLS certificate validation when pulling from a registry. I #### --skip-tls-verify-registry -Set this flag to skip TLS certificate validation when accessing a registry. It is supposed to be used for testing purposes only and should not be used in production! -You can set it multiple times for multiple registries. +You can set `--skip-tls-verify-registry ` to skip TLS certificate validation when accessing the specified registry. It is supposed to be used for testing purposes only and should not be used in production! You can set it multiple times for multiple registries. #### --skip-unused-stages