We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In business the restart policy needs to be set to no.
no
Success.
Fail with: maximum retry count could be used with policy "no".
container.go:58
// set restart always restartRetryCount := 3 if opts.RestartPolicy == restartAlways { restartRetryCount = 0 }
The retry count should be 0 when using no policy or just omit it.
Currently a workaround works that is setting policy to empty instead of setting it to no explicitly. Better to fix it in future in core.
The text was updated successfully, but these errors were encountered:
fix issue #338, not expose restart policy to upper layer later
c6bd2aa
这里需要屏蔽 restart 逻辑,抽象成 eru 的 restart 逻辑
Sorry, something went wrong.
No branches or pull requests
Background
In business the restart policy needs to be set to
no
.Result Expected
Success.
Result Actual
Fail with: maximum retry count could be used with policy "no".
Related Code
container.go:58
The retry count should be 0 when using
no
policy or just omit it.Workaround
Currently a workaround works that is setting policy to empty instead of setting it to
no
explicitly. Better to fix it in future in core.The text was updated successfully, but these errors were encountered: