Add support for autoremove option
Bug #1644901 reported by
hongbin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zun |
Fix Released
|
Medium
|
Kien Nguyen |
Bug Description
Docker run command has an autoremove option:
$ docker help run
Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]
Run a command in a new container
Options:
--rm Automatically remove the container when it exits
Zun could add support for this as well. The difficult part is that the zun-compute needs to watch the container and return the container from DB when it exists.
Changed in zun: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in zun: | |
assignee: | nobody → prameswar (prameswar) |
Changed in zun: | |
status: | Triaged → In Progress |
Changed in zun: | |
assignee: | nobody → Kien Nguyen (kiennt2609) |
Changed in zun: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Related fix proposed to branch: master /review. openstack. org/418942
Review: https:/