try to delete volume dir of any killed execution dcontainer on container deletion
This commit is contained in:
@ -89,7 +89,7 @@ class DockerClient
|
|||||||
if local_workspace_path && Pathname.new(local_workspace_path).exist?
|
if local_workspace_path && Pathname.new(local_workspace_path).exist?
|
||||||
Pathname.new(local_workspace_path).children.each{ |p| p.rmtree}
|
Pathname.new(local_workspace_path).children.each{ |p| p.rmtree}
|
||||||
end
|
end
|
||||||
container.delete(force: true)
|
container.delete(force: true, v: true)
|
||||||
end
|
end
|
||||||
|
|
||||||
def execute_arbitrary_command(command, &block)
|
def execute_arbitrary_command(command, &block)
|
||||||
|
Reference in New Issue
Block a user