Pārlūkot izejas kodu

Update reference document for secret and stack

Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
yuexiao-wang 8 gadi atpakaļ
vecāks
revīzija
7bb31f3168

+ 19 - 0
docs/reference/commandline/index.md

@@ -147,3 +147,22 @@ read the [`dockerd`](dockerd.md) reference page.
 | [service rm](service_rm.md) | Remove a service from the swarm                |
 | [service rm](service_rm.md) | Remove a service from the swarm                |
 | [service scale](service_scale.md) | Set the number of replicas for the desired state of the service |
 | [service scale](service_scale.md) | Set the number of replicas for the desired state of the service |
 | [service update](service_update.md)  | Update the attributes of a service    |
 | [service update](service_update.md)  | Update the attributes of a service    |
+
+### Swarm secret commands
+
+| Command | Description                                                        |
+|:--------|:-------------------------------------------------------------------|
+| [secret create](secret_create.md) | Create a secret from a file or STDIN as content |
+| [secret inspect](service_inspect.md) | Inspect the specified secret          |
+| [secret ls](secret_ls.md) | List secrets in the swarm                        |
+| [secret rm](secret_rm.md) | Remove the specified secrets from the swarm      |
+
+### Swarm stack commands
+
+| Command | Description                                                        |
+|:--------|:-------------------------------------------------------------------|
+| [stack deploy](stack_deploy.md) | Deploy a new stack or update an existing stack |
+| [stack ls](stack_ls.md) | List stacks in the swarm                           |
+| [stack ps](stack_ps.md) | List the tasks in the stack                        |
+| [stack rm](stack_rm.md) | Remove the stack from the swarm                    |
+| [stack services](stack_services.md) | List the services in the stack         |

+ 0 - 1
docs/reference/commandline/stack_deploy.md

@@ -96,4 +96,3 @@ axqh55ipl40h  vossibility_vossibility-collector  replicated  1/1       icecrime/
 * [stack ps](stack_ps.md)
 * [stack ps](stack_ps.md)
 * [stack rm](stack_rm.md)
 * [stack rm](stack_rm.md)
 * [stack services](stack_services.md)
 * [stack services](stack_services.md)
-* [deploy](deploy.md)

+ 1 - 1
docs/reference/commandline/stack_ps.md

@@ -46,6 +46,6 @@ The currently supported filters are:
 ## Related information
 ## Related information
 
 
 * [stack deploy](stack_deploy.md)
 * [stack deploy](stack_deploy.md)
-* [stack rm](stack_ls.md)
+* [stack ls](stack_ls.md)
 * [stack rm](stack_rm.md)
 * [stack rm](stack_rm.md)
 * [stack services](stack_services.md)
 * [stack services](stack_services.md)