-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
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
Remove docker restart policy until the docker api stabilizes #1591
Conversation
…licy remove docker restart policy until it stabilizes
Is it time to look into the restart policy again with docker 1.9.x out? Add a new unless-stopped restart policy (#15348) was added in 1.9.0 |
If you want to replicate this by using the official |
Sure, I will try that out as soon as I get a chance, it will probably be a day or two. |
cool :) |
OK, I was able to test out the Below is a summary of my testing:
After setting the restart option following any reboot I would see the following behavior:
"RestartPolicy": {
"Name": "unless-stopped",
"MaximumRetryCount": 0
} After causing the app to crash (process.exit(1)) each container twice: "RestartCount": 2 Then
Execute
Then
Then
Then
Push new version of the test-app
Test crash the test-app
Then
|
What happens on memory-constrained systems? Can you try this on a box with 512mb ram and 512mb swap? |
Might I suggest bringing this conversation to a new issue? |
👍 |
closes #1505