Skip to content
This repository has been archived by the owner on Oct 10, 2020. It is now read-only.

Commit

Permalink
docker: propagate args from uninstall to stop
Browse files Browse the repository at this point in the history
so that it is possible to uninstall a running container:

Closes: #1221

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
  • Loading branch information
giuseppe committed Apr 16, 2018
1 parent 2fd0860 commit 2cdc8f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Atomic/backends/_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ def uninstall(self, iobject, name=None, **kwargs):
# We have a container by that name, need to stop and delete it
if con_obj:
if con_obj.running:
self.stop_container(con_obj)
self.stop_container(con_obj, args=atomic.args)
self.delete_container(con_obj.id)

if args.force:
Expand Down

0 comments on commit 2cdc8f6

Please sign in to comment.