From 7bb31f3168aa022a20c37b0b1cb1942fd553717f Mon Sep 17 00:00:00 2001 From: yuexiao-wang Date: Sat, 31 Dec 2016 00:09:49 +0800 Subject: [PATCH] Update reference document for secret and stack Signed-off-by: yuexiao-wang --- docs/reference/commandline/index.md | 19 +++++++++++++++++++ docs/reference/commandline/stack_deploy.md | 1 - docs/reference/commandline/stack_ps.md | 2 +- 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/docs/reference/commandline/index.md b/docs/reference/commandline/index.md index 2345406c4f..f7e6d3c908 100644 --- a/docs/reference/commandline/index.md +++ b/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 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 | + +### 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 | \ No newline at end of file diff --git a/docs/reference/commandline/stack_deploy.md b/docs/reference/commandline/stack_deploy.md index 28b7604105..037feaebd7 100644 --- a/docs/reference/commandline/stack_deploy.md +++ b/docs/reference/commandline/stack_deploy.md @@ -96,4 +96,3 @@ axqh55ipl40h vossibility_vossibility-collector replicated 1/1 icecrime/ * [stack ps](stack_ps.md) * [stack rm](stack_rm.md) * [stack services](stack_services.md) -* [deploy](deploy.md) diff --git a/docs/reference/commandline/stack_ps.md b/docs/reference/commandline/stack_ps.md index 01dc63b7d9..101e9feb11 100644 --- a/docs/reference/commandline/stack_ps.md +++ b/docs/reference/commandline/stack_ps.md @@ -46,6 +46,6 @@ The currently supported filters are: ## Related information * [stack deploy](stack_deploy.md) -* [stack rm](stack_ls.md) +* [stack ls](stack_ls.md) * [stack rm](stack_rm.md) * [stack services](stack_services.md)