Add cors header flag and leave boolean flag not changed

Deprecate api-enable-cors

Update docs & man files

Signed-off-by: harry zhang <resouer@163.com>
This commit is contained in:
resouer
2015-03-03 11:21:19 +08:00
parent 8e107a9321
commit f3dd2db4ff
7 changed files with 30 additions and 15 deletions
+3
View File
@@ -37,6 +37,9 @@ unix://[/path/to/socket] to use.
**--api-enable-cors**=*true*|*false*
Enable CORS headers in the remote API. Default is false.
**--api-cors-header**=""
Set CORS headers in the remote API. Default is cors disabled. Give urls like "http://foo, http://bar, ...". Give "*" to allow all.
**-b**=""
Attach containers to a pre\-existing network bridge; use 'none' to disable container networking