Skip to content

Commit

Permalink
when removing container in dockerdumper, remove all associated volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
jal347 committed Jun 15, 2023
1 parent 113300c commit 691e750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion biothings/hub/dataload/dumper.py
Original file line number Diff line number Diff line change
Expand Up @@ -2280,7 +2280,7 @@ def delete_or_restore_container(self):
self.logger.debug(f"Removing container: {self.container.name}")
self.container.stop()
self.container.wait(timeout=self.TIMEOUT)
self.container.remove()
self.container.remove(v=True)

def post_dump(self, *args, **kwargs):
"""Delete container or restore the container status if necessary, called in the dump method after the dump is done (during the "post" step)"""
Expand Down

0 comments on commit 691e750

Please sign in to comment.