News for hackers. Stuff that matters.
Re:Docker 1.2.0, with restart policies by IanCal on Monday August 25, 2014 @02:47PM (#8223346)
Perhaps I'm being a bit harsh.

> 1) We do degrade restarts over time.

Is this adjustable? X restarts in Y seconds? I feel this is something that could be quite application specific.

> 2) There is hierarchy (so it will start linked containers).

So if A has a link to B, will A be restarted if B is restarted?

I'd be aiming to build hierarchies with restart strategies like these:

http://www.erlang.org/doc/design_principles/sup_princ.html

Re:Docker 1.2.0, with restart policies by cpuguy83 on Wednesday August 27, 2014 @03:50PM (#8234368)
1) I know you can specify the number of restarts, not sure yo can specify the gradual decay of the restarts

2) No, this is not the goal of the restart policies. I think this would be best implemented by something watching the docker event stream.