Restart policies, and what unhealthy does not do
Select an icon to see what it is.
Step 2 of 6
A crash makes dockerd start it again
When the process exits with code 1, containerd reports the exit to dockerd. dockerd's restart manager checks the policy: on-failure applies to non-zero exits, and the retry count is below 3. It schedules a restart and shows the status restarting, while Running stays true.
TaskExit event
exit status: 1policy on-failure, retries used 0 of 3: restart