Restart Policy
Parameters
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
maximum Retry Count
If on-failure is used, the number of times to retry before giving up.