Docker Fundamentals — Medium
Key points
- The --restart policy determines the automatic restart behavior of Docker containers.
- Options like on-failure and always dictate when the container should be restarted.
- Understanding the --restart policy is crucial for managing container availability.
Ready to go further?
Related questions
