Name
Empty string means not to restart -
noDo not automatically restart -alwaysAlways restart -unless-stoppedRestart always except when the user has manually stopped the container -on-failureRestart only when the container exit code is non-zero
Values: EMPTY,NO,ALWAYS,UNLESS_STOPPED,ON_FAILURE
Entries
Link copied to clipboard
@SerialName(value = "unless-stopped" )
Link copied to clipboard
@SerialName(value = "on-failure" )
Properties
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.