-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
docker_utils.py:
def kill(container):
mounts = container.attrs['Mounts']
container.remove(
force=True,
v=True # Remove volumes associated with the container
)
for mount in mounts:
source = mount['Source']
target = source if os.path.isdir(
source) else os.path.dirname(source)
rmtree(
target,
ignore_errors=True
)We shouldn't have local mounts any longer, so can I get of those parts of the code?
Metadata
Metadata
Assignees
Labels
No labels