support unless-stopped for restart policy
Bug #1755727 reported by
feng.shengqin@zte.com.cn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zun |
In Progress
|
Medium
|
feng.shengqin@zte.com.cn |
Bug Description
docker supports unless-stopped for restart policy.
unless-stopped:
Always restart the container regardless of the exit status, but do not start it on daemon startup if the container has been put to a stopped state before.
If the init proc inside container exits, the container exits and is setted to Stopped. In this case,
unless-stopped is the most suitable rule for restart.
Changed in zun: | |
assignee: | nobody → feng.shengqin@zte.com.cn (feng-shengqin) |
Changed in zun: | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/559707
Review: https:/