Add an acceptance test and docs for the down subcommand
Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
parent
c8ed156806
commit
c64af0a459
13 changed files with 102 additions and 13 deletions
|
|
@ -686,6 +686,7 @@ class Service(object):
|
|||
if image_type == ImageType.local and self.options.get('image'):
|
||||
return False
|
||||
|
||||
log.info("Removing image %s", self.image_name)
|
||||
try:
|
||||
self.client.remove_image(self.image_name)
|
||||
return True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue