Zun

support unless-stopped for restart policy

Bug #1755727 reported by feng.shengqin@zte.com.cn
6
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)
hongbin (hongbin034)
Changed in zun:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zun (master)

Fix proposed to branch: master
Review: https://review.openstack.org/559707

Changed in zun:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on zun (master)

Change abandoned by feng.shengqin (<email address hidden>) on branch: master
Review: https://review.openstack.org/559707

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.