mirror of https://github.com/docker/cli.git
Fix inconsisticy for service logs
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
This commit is contained in:
parent
66cfdff646
commit
fcdc75de3e
|
@ -1927,7 +1927,7 @@ __docker_service_commands() {
|
||||||
_docker_service_subcommands=(
|
_docker_service_subcommands=(
|
||||||
"create:Create a new service"
|
"create:Create a new service"
|
||||||
"inspect:Display detailed information on one or more services"
|
"inspect:Display detailed information on one or more services"
|
||||||
"logs:Fetch the logs of a service"
|
"logs:Fetch the logs of a service or task"
|
||||||
"ls:List services"
|
"ls:List services"
|
||||||
"rm:Remove one or more services"
|
"rm:Remove one or more services"
|
||||||
"scale:Scale one or multiple replicated services"
|
"scale:Scale one or multiple replicated services"
|
||||||
|
|
|
@ -143,7 +143,7 @@ read the [`dockerd`](dockerd.md) reference page.
|
||||||
|:--------|:-------------------------------------------------------------------|
|
|:--------|:-------------------------------------------------------------------|
|
||||||
| [service create](service_create.md) | Create a new service |
|
| [service create](service_create.md) | Create a new service |
|
||||||
| [service inspect](service_inspect.md) | Inspect a service |
|
| [service inspect](service_inspect.md) | Inspect a service |
|
||||||
| [service logs](service_logs.md) | Fetch the logs of a service |
|
| [service logs](service_logs.md) | Fetch the logs of a service or task |
|
||||||
| [service ls](service_ls.md) | List services in the swarm |
|
| [service ls](service_ls.md) | List services in the swarm |
|
||||||
| [service ps](service_ps.md) | List the tasks of a service |
|
| [service ps](service_ps.md) | List the tasks of a service |
|
||||||
| [service rm](service_rm.md) | Remove a service from the swarm |
|
| [service rm](service_rm.md) | Remove a service from the swarm |
|
||||||
|
|
|
@ -26,7 +26,7 @@ Options:
|
||||||
Commands:
|
Commands:
|
||||||
create Create a new service
|
create Create a new service
|
||||||
inspect Display detailed information on one or more services
|
inspect Display detailed information on one or more services
|
||||||
logs Fetch the logs of a service
|
logs Fetch the logs of a service or task
|
||||||
ls List services
|
ls List services
|
||||||
ps List the tasks of one or more services
|
ps List the tasks of one or more services
|
||||||
rm Remove one or more services
|
rm Remove one or more services
|
||||||
|
|
Loading…
Reference in New Issue