mirror of https://github.com/docker/cli.git
specify max size for secret in doc
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
3c6718905c
commit
87f6e631ea
|
@ -27,8 +27,9 @@ Options:
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
||||||
Creates a secret using standard input or from a file for the secret content. You must run this
|
Creates a secret using standard input or from a file for the secret content. You must run this command on a manager node.
|
||||||
command on a manager node.
|
|
||||||
|
For detailed information about using secrets, refer to [manage sensitive data with Docker secrets](https://docs.docker.com/engine/swarm/secrets/).
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
|
|
@ -36,6 +36,8 @@ the given template will be executed for each result.
|
||||||
Go's [text/template](http://golang.org/pkg/text/template/) package
|
Go's [text/template](http://golang.org/pkg/text/template/) package
|
||||||
describes all the details of the format.
|
describes all the details of the format.
|
||||||
|
|
||||||
|
For detailed information about using secrets, refer to [manage sensitive data with Docker secrets](https://docs.docker.com/engine/swarm/secrets/).
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
### Inspect a secret by name or ID
|
### Inspect a secret by name or ID
|
||||||
|
|
|
@ -32,6 +32,8 @@ Options:
|
||||||
|
|
||||||
Run this command on a manager node to list the secrets in the swarm.
|
Run this command on a manager node to list the secrets in the swarm.
|
||||||
|
|
||||||
|
For detailed information about using secrets, refer to [manage sensitive data with Docker secrets](https://docs.docker.com/engine/swarm/secrets/).
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
|
@ -32,6 +32,8 @@ Options:
|
||||||
Removes the specified secrets from the swarm. This command has to be run
|
Removes the specified secrets from the swarm. This command has to be run
|
||||||
targeting a manager node.
|
targeting a manager node.
|
||||||
|
|
||||||
|
For detailed information about using secrets, refer to [manage sensitive data with Docker secrets](https://docs.docker.com/engine/swarm/secrets/).
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
This example removes a secret:
|
This example removes a secret:
|
||||||
|
|
Loading…
Reference in New Issue