mirror of https://github.com/docker/cli.git
Change authz plugin argument name
Signed-off-by: Liron Levin <liron@twistlock.com>
This commit is contained in:
parent
a8a3c47ee5
commit
53c1cb81c0
|
@ -93,14 +93,14 @@ support the Docker client interactions detailed in this section.
|
||||||
### Setting up Docker daemon
|
### Setting up Docker daemon
|
||||||
|
|
||||||
Enable the authorization plugin with a dedicated command line flag in the
|
Enable the authorization plugin with a dedicated command line flag in the
|
||||||
`--authz-plugins=PLUGIN_ID` format. The flag supplies a `PLUGIN_ID` value.
|
`--authz-plugin=PLUGIN_ID` format. The flag supplies a `PLUGIN_ID` value.
|
||||||
This value can be the plugin’s socket or a path to a specification file.
|
This value can be the plugin’s socket or a path to a specification file.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker daemon --authz-plugins=plugin1 --authz-plugins=plugin2,...
|
$ docker daemon --authz-plugin=plugin1 --authz-plugin=plugin2,...
|
||||||
```
|
```
|
||||||
|
|
||||||
Docker's authorization subsystem supports multiple `--authz-plugins` parameters.
|
Docker's authorization subsystem supports multiple `--authz-plugin` parameters.
|
||||||
|
|
||||||
### Calling authorized command (allow)
|
### Calling authorized command (allow)
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ weight = -1
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
--api-cors-header="" Set CORS headers in the remote API
|
--api-cors-header="" Set CORS headers in the remote API
|
||||||
--authz-plugins=[] Set authorization plugins to load
|
--authz-plugin=[] Set authorization plugins to load
|
||||||
-b, --bridge="" Attach containers to a network bridge
|
-b, --bridge="" Attach containers to a network bridge
|
||||||
--bip="" Specify network bridge IP
|
--bip="" Specify network bridge IP
|
||||||
-D, --debug=false Enable debug mode
|
-D, --debug=false Enable debug mode
|
||||||
|
@ -607,10 +607,10 @@ The currently supported cluster store options are:
|
||||||
Docker's access authorization can be extended by authorization plugins that your
|
Docker's access authorization can be extended by authorization plugins that your
|
||||||
organization can purchase or build themselves. You can install one or more
|
organization can purchase or build themselves. You can install one or more
|
||||||
authorization plugins when you start the Docker `daemon` using the
|
authorization plugins when you start the Docker `daemon` using the
|
||||||
`--authz-plugins=PLUGIN_ID` option.
|
`--authz-plugin=PLUGIN_ID` option.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker daemon --authz-plugins=plugin1 --authz-plugins=plugin2,...
|
docker daemon --authz-plugin=plugin1 --authz-plugin=plugin2,...
|
||||||
```
|
```
|
||||||
|
|
||||||
The `PLUGIN_ID` value is either the plugin's name or a path to its specification
|
The `PLUGIN_ID` value is either the plugin's name or a path to its specification
|
||||||
|
|
|
@ -7,7 +7,7 @@ docker-daemon - Enable daemon mode
|
||||||
# SYNOPSIS
|
# SYNOPSIS
|
||||||
**docker daemon**
|
**docker daemon**
|
||||||
[**--api-cors-header**=[=*API-CORS-HEADER*]]
|
[**--api-cors-header**=[=*API-CORS-HEADER*]]
|
||||||
[**--authz-plugins**[=*[]*]]
|
[**--authz-plugin**[=*[]*]]
|
||||||
[**-b**|**--bridge**[=*BRIDGE*]]
|
[**-b**|**--bridge**[=*BRIDGE*]]
|
||||||
[**--bip**[=*BIP*]]
|
[**--bip**[=*BIP*]]
|
||||||
[**--cluster-store**[=*[]*]]
|
[**--cluster-store**[=*[]*]]
|
||||||
|
@ -71,7 +71,7 @@ format.
|
||||||
**--api-cors-header**=""
|
**--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.
|
Set CORS headers in the remote API. Default is cors disabled. Give urls like "http://foo, http://bar, ...". Give "*" to allow all.
|
||||||
|
|
||||||
**--authz-plugins**=""
|
**--authz-plugin**=""
|
||||||
Set authorization plugins to load
|
Set authorization plugins to load
|
||||||
|
|
||||||
**-b**, **--bridge**=""
|
**-b**, **--bridge**=""
|
||||||
|
@ -465,10 +465,10 @@ Key/Value store.
|
||||||
Docker's access authorization can be extended by authorization plugins that your
|
Docker's access authorization can be extended by authorization plugins that your
|
||||||
organization can purchase or build themselves. You can install one or more
|
organization can purchase or build themselves. You can install one or more
|
||||||
authorization plugins when you start the Docker `daemon` using the
|
authorization plugins when you start the Docker `daemon` using the
|
||||||
`--authz-plugins=PLUGIN_ID` option.
|
`--authz-plugin=PLUGIN_ID` option.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker daemon --authz-plugins=plugin1 --authz-plugins=plugin2,...
|
docker daemon --authz-plugin=plugin1 --authz-plugin=plugin2,...
|
||||||
```
|
```
|
||||||
|
|
||||||
The `PLUGIN_ID` value is either the plugin's name or a path to its specification
|
The `PLUGIN_ID` value is either the plugin's name or a path to its specification
|
||||||
|
|
Loading…
Reference in New Issue