Restart Policy Explained: no, on-failure, always in Docker Compose
Let's analyze Docker Compose restart policies in detail: I'll cover the differences between no, on-failure, and always, retry limits, and how to simulate a real crash to test each policy's behavior.