Merge pull request #8132 from LStuker/patch-1

CURRENT STATE instead of LAST STATE with docker 18.09.1
This commit is contained in:
Maria Bermudez 2019-02-06 16:07:18 -08:00 committed by GitHub
commit b853c7c290
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ the Docker CLI to see details about the service running in the swarm.
```bash ```bash
[manager1]$ docker service ps helloworld [manager1]$ docker service ps helloworld
NAME IMAGE NODE DESIRED STATE LAST STATE NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
helloworld.1.8p1vev3fq5zm0mi8g0as41w35 alpine worker2 Running Running 3 minutes helloworld.1.8p1vev3fq5zm0mi8g0as41w35 alpine worker2 Running Running 3 minutes
``` ```
@ -100,7 +100,7 @@ the Docker CLI to see details about the service running in the swarm.
`worker2` node. You may see the service running on your manager node. By `worker2` node. You may see the service running on your manager node. By
default, manager nodes in a swarm can execute tasks just like worker nodes. default, manager nodes in a swarm can execute tasks just like worker nodes.
Swarm also shows you the `DESIRED STATE` and `LAST STATE` of the service Swarm also shows you the `DESIRED STATE` and `CURRENT STATE` of the service
task so you can see if tasks are running according to the service task so you can see if tasks are running according to the service
definition. definition.