mirror of https://github.com/docker/docs.git
Merge pull request #9843 from euanh/ENGCORE-117
interlock: Default update failure action is now rollback
This commit is contained in:
commit
44869491e8
|
@ -38,15 +38,15 @@ service and save it to a file:
|
|||
ucp-interlock
|
||||
```
|
||||
|
||||
By default, the `ucp-interlock` service is configured to pause if you provide an
|
||||
invalid configuration. The service will not restart without manual intervention.
|
||||
By default, the `ucp-interlock` service is configured to roll back to
|
||||
a previous stable configuration if you provide an invalid configuration.
|
||||
|
||||
If you want the service to automatically rollback to a previous stable
|
||||
configuration, you can update it with the following command:
|
||||
If you want the service to pause instead of rolling back, you can update
|
||||
it with the following command:
|
||||
|
||||
```bash
|
||||
docker service update \
|
||||
--update-failure-action rollback \
|
||||
--update-failure-action pause \
|
||||
ucp-interlock
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue