Back to Portainer

Restart

app/docker/views/services/edit/includes/restart.html

2.40.0578 B
Original Source

| Restart condition | NoneOn failureAny |

Condition for restart.

| | 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.

|

Apply changes

  • Reset changes
  • Reset all changes