mirror of https://github.com/docker/docs.git
Merge pull request #828 from docker/683_task_containers_remove
Clarify when the task containers are deleted
This commit is contained in:
commit
db7b3a5987
|
|
@ -28,7 +28,24 @@ removed the service. The CLI returns a message that the service is not found:
|
||||||
Error: no such service: helloworld
|
Error: no such service: helloworld
|
||||||
```
|
```
|
||||||
|
|
||||||
|
4. Even though the service no longer exists, the task containers take a few
|
||||||
|
seconds to clean up. You can use `docker ps` to verify when they are gone.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ docker ps
|
||||||
|
|
||||||
|
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
|
||||||
|
db1651f50347 alpine:latest "ping docker.com" 44 minutes ago Up 46 seconds helloworld.5.9lkmos2beppihw95vdwxy1j3w
|
||||||
|
43bf6e532a92 alpine:latest "ping docker.com" 44 minutes ago Up 46 seconds helloworld.3.a71i8rp6fua79ad43ycocl4t2
|
||||||
|
5a0fb65d8fa7 alpine:latest "ping docker.com" 44 minutes ago Up 45 seconds helloworld.2.2jpgensh7d935qdc857pxulfr
|
||||||
|
afb0ba67076f alpine:latest "ping docker.com" 44 minutes ago Up 46 seconds helloworld.4.1c47o7tluz7drve4vkm2m5olx
|
||||||
|
688172d3bfaa alpine:latest "ping docker.com" 45 minutes ago Up About a minute helloworld.1.74nbhb3fhud8jfrhigd7s29we
|
||||||
|
|
||||||
|
$ docker ps
|
||||||
|
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS
|
||||||
|
|
||||||
|
```
|
||||||
## What's next?
|
## What's next?
|
||||||
|
|
||||||
In the next step of the tutorial, you set up a new service and apply a
|
In the next step of the tutorial, you set up a new service and apply a
|
||||||
[rolling update](rolling-update.md).
|
[rolling update](rolling-update.md).
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue