mirror of https://github.com/docker/cli.git
Append --registry-auth with with
`--with-registry-auth` is more explicit. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
6eef41333d
commit
2f9e9bcbaa
|
@ -1733,7 +1733,7 @@ _docker_service_update() {
|
||||||
|
|
||||||
local boolean_options="
|
local boolean_options="
|
||||||
--help
|
--help
|
||||||
--registry-auth
|
--with-registry-auth
|
||||||
"
|
"
|
||||||
|
|
||||||
__docker_complete_log_driver_options && return
|
__docker_complete_log_driver_options && return
|
||||||
|
|
|
@ -1085,7 +1085,6 @@ __docker_service_subcommand() {
|
||||||
"($help)--name=[Service name]:name: "
|
"($help)--name=[Service name]:name: "
|
||||||
"($help)*--network=[Network attachments]:network: "
|
"($help)*--network=[Network attachments]:network: "
|
||||||
"($help)*"{-p=,--publish=}"[Publish a port as a node port]:port: "
|
"($help)*"{-p=,--publish=}"[Publish a port as a node port]:port: "
|
||||||
"($help)--registry-auth[Send registry authentication details to swarm agents]"
|
|
||||||
"($help)--replicas=[Number of tasks]:replicas: "
|
"($help)--replicas=[Number of tasks]:replicas: "
|
||||||
"($help)--reserve-cpu=[Reserve CPUs]:value: "
|
"($help)--reserve-cpu=[Reserve CPUs]:value: "
|
||||||
"($help)--reserve-memory=[Reserve Memory]:value: "
|
"($help)--reserve-memory=[Reserve Memory]:value: "
|
||||||
|
@ -1097,6 +1096,7 @@ __docker_service_subcommand() {
|
||||||
"($help)--update-delay=[Delay between updates]:delay: "
|
"($help)--update-delay=[Delay between updates]:delay: "
|
||||||
"($help)--update-parallelism=[Maximum number of tasks updated simultaneously]:number: "
|
"($help)--update-parallelism=[Maximum number of tasks updated simultaneously]:number: "
|
||||||
"($help -u --user)"{-u=,--user=}"[Username or UID]:user:_users"
|
"($help -u --user)"{-u=,--user=}"[Username or UID]:user:_users"
|
||||||
|
"($help)--with-registry-auth[Send registry authentication details to swarm agents]"
|
||||||
"($help -w --workdir)"{-w=,--workdir=}"[Working directory inside the container]:directory:_directories"
|
"($help -w --workdir)"{-w=,--workdir=}"[Working directory inside the container]:directory:_directories"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ Create and update a stack from a Distributed Application Bundle (DAB)
|
||||||
Options:
|
Options:
|
||||||
--file string Path to a Distributed Application Bundle file (Default: STACK.dab)
|
--file string Path to a Distributed Application Bundle file (Default: STACK.dab)
|
||||||
--help Print usage
|
--help Print usage
|
||||||
--registry-auth Send registry authentication details to swarm agents
|
--with-registry-auth Send registry authentication details to swarm agents
|
||||||
```
|
```
|
||||||
|
|
||||||
Create and update a stack from a `dab` file. This command has to be
|
Create and update a stack from a `dab` file. This command has to be
|
||||||
|
|
|
@ -31,7 +31,6 @@ Options:
|
||||||
--name string Service name
|
--name string Service name
|
||||||
--network value Network attachments (default [])
|
--network value Network attachments (default [])
|
||||||
-p, --publish value Publish a port as a node port (default [])
|
-p, --publish value Publish a port as a node port (default [])
|
||||||
--registry-auth Send registry authentication details to swarm agents
|
|
||||||
--replicas value Number of tasks (default none)
|
--replicas value Number of tasks (default none)
|
||||||
--reserve-cpu value Reserve CPUs (default 0.000)
|
--reserve-cpu value Reserve CPUs (default 0.000)
|
||||||
--reserve-memory value Reserve Memory (default 0 B)
|
--reserve-memory value Reserve Memory (default 0 B)
|
||||||
|
@ -43,6 +42,7 @@ Options:
|
||||||
--update-delay duration Delay between updates
|
--update-delay duration Delay between updates
|
||||||
--update-parallelism uint Maximum number of tasks updated simultaneously
|
--update-parallelism uint Maximum number of tasks updated simultaneously
|
||||||
-u, --user string Username or UID
|
-u, --user string Username or UID
|
||||||
|
--with-registry-auth Send registry authentication details to Swarm agents
|
||||||
-w, --workdir string Working directory inside the container
|
-w, --workdir string Working directory inside the container
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,6 @@ Options:
|
||||||
--network-rm value Remove a network by name (default [])
|
--network-rm value Remove a network by name (default [])
|
||||||
--publish-add value Add or update a published port (default [])
|
--publish-add value Add or update a published port (default [])
|
||||||
--publish-rm value Remove a published port by its target port (default [])
|
--publish-rm value Remove a published port by its target port (default [])
|
||||||
--registry-auth Send registry authentication details to swarm agents
|
|
||||||
--replicas value Number of tasks (default none)
|
--replicas value Number of tasks (default none)
|
||||||
--reserve-cpu value Reserve CPUs (default 0.000)
|
--reserve-cpu value Reserve CPUs (default 0.000)
|
||||||
--reserve-memory value Reserve Memory (default 0 B)
|
--reserve-memory value Reserve Memory (default 0 B)
|
||||||
|
@ -50,6 +49,7 @@ Options:
|
||||||
--update-delay duration Delay between updates
|
--update-delay duration Delay between updates
|
||||||
--update-parallelism uint Maximum number of tasks updated simultaneously
|
--update-parallelism uint Maximum number of tasks updated simultaneously
|
||||||
-u, --user string Username or UID
|
-u, --user string Username or UID
|
||||||
|
--with-registry-auth Send registry authentication details to Swarm agents
|
||||||
-w, --workdir string Working directory inside the container
|
-w, --workdir string Working directory inside the container
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ Create and update a stack
|
||||||
Options:
|
Options:
|
||||||
--file string Path to a Distributed Application Bundle file (Default: STACK.dab)
|
--file string Path to a Distributed Application Bundle file (Default: STACK.dab)
|
||||||
--help Print usage
|
--help Print usage
|
||||||
--registry-auth Send registry authentication details to Swarm agents
|
--with-registry-auth Send registry authentication details to Swarm agents
|
||||||
```
|
```
|
||||||
|
|
||||||
Let's deploy the stack created before:
|
Let's deploy the stack created before:
|
||||||
|
|
Loading…
Reference in New Issue