lib/hoosegow/docker.rb in hoosegow-1.2.3 vs lib/hoosegow/docker.rb in hoosegow-1.2.4
- old
+ new
@@ -124,10 +124,10 @@
# Public: Delete the last started container.
#
# Returns response body or nil if no container was started.
def delete_container
return unless @container
- @container.delete
+ @container.delete :v => 1
rescue ::Docker::Error::ServerError => e
$stderr.puts "Docker could not delete #{@container.id}: #{e}"
end
# Public: Build a new image.