mirror of https://github.com/docker/docs.git
Update auto-destroy.md (#2484)
This commit is contained in:
parent
aad3489c4b
commit
dd9303eb44
|
@ -6,7 +6,7 @@ redirect_from:
|
|||
title: Destroy containers automatically
|
||||
---
|
||||
|
||||
When enabled on a service, **Autodestroy** automatically terminates containers
|
||||
When enabled on a service, **Autodestroy** automatically terminates containers
|
||||
when they stop. **This destroys all data in the container on stop.** This is
|
||||
useful for one-time actions that store their results in an external system.
|
||||
|
||||
|
@ -74,4 +74,4 @@ PATCH /api/app/v1/service/(uuid)/ HTTP/1.1
|
|||
#### Enabling autodestroy using the CLI
|
||||
```
|
||||
$ docker-cloud service set --autodestroy ALWAYS (name or uuid)
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue