prevent nil access on containers not present any longer in delete...
This commit is contained in:
@ -126,8 +126,10 @@ class DockerClient
|
||||
container.stop.kill
|
||||
container.port_bindings.values.each { |port| PortPool.release(port) }
|
||||
clean_container_workspace(container)
|
||||
if(container)
|
||||
container.delete(force: true, v: true)
|
||||
end
|
||||
end
|
||||
|
||||
def execute_arbitrary_command(command, &block)
|
||||
execute_command(command, nil, block)
|
||||
|
Reference in New Issue
Block a user