Browse Source

Merge pull request #16057 from sallyom/manDocker

clarify --insecure-registry in man docker
Sebastiaan van Stijn 10 năm trước cách đây
mục cha
commit
409212be24
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      man/docker.1.md

+ 5 - 1
man/docker.1.md

@@ -90,7 +90,11 @@ unix://[/path/to/socket] to use.
   Allow unrestricted inter\-container and Docker daemon host communication. If disabled, containers can still be linked together using **--link** option (see **docker-run(1)**). Default is true.
   Allow unrestricted inter\-container and Docker daemon host communication. If disabled, containers can still be linked together using **--link** option (see **docker-run(1)**). Default is true.
 
 
 **--insecure-registry**=[]
 **--insecure-registry**=[]
-  Enable insecure registry communication.
+  Enable insecure registry communication, i.e., enable un-encrypted and/or untrusted communication.
+  
+  List of insecure registries can contain an element with CIDR notation to specify a whole subnet. Insecure registries accept HTTP and/or accept HTTPS with certificates from unknown CAs.
+  
+  Enabling `--insecure-registry` is useful when running a local registry.  However, because its use creates security vulnerabilities it should ONLY be enabled for testing purposes.  For increased security, users should add their CA to their system's list of trusted CAs instead of using `--insecure-registry`. 
 
 
 **--ip**=""
 **--ip**=""
   Default IP address to use when binding container ports. Default is `0.0.0.0`.
   Default IP address to use when binding container ports. Default is `0.0.0.0`.