Back to Portainer

Update Restart

app/docker/views/services/create/includes/update-restart.html

2.40.0947 B
Original Source

Update config

Update parallelism

Maximum number of tasks to be updated simultaneously (0 to update all at once).

Update delay

Amount of time between updates expressed by a number followed by unit (ns|us|ms|s|m|h). Default value is 0s, 0 seconds.

Update failure action

ContinuePause

Action taken on failure to start after update.

Update order

start-firststop-first

Operation order on failure.

Restart policy

Restart condition

NoneOn-failureAny

Restart when condition is met (default condition "any").

Restart delay

Delay between restart attempts expressed by a number followed by unit (ns|us|ms|s|m|h). Default value is 5s, 5 seconds.

Restart max attempts

Maximum attempts to restart a given task before giving up (default value is 0, which means unlimited).

Restart window

Time window to evaluate restart attempts expressed by a number followed by unit (ns|us|ms|s|m|h). Default value is 0 seconds, which is unbounded.