From ee4cc5f595daf608e72dbd236d8932da436bee94 Mon Sep 17 00:00:00 2001 From: Ryan Rowe Date: Thu, 21 Dec 2017 22:19:03 -0800 Subject: [PATCH] Add opts to image prune --- lib/docker/image.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/docker/image.rb b/lib/docker/image.rb index 3d5619f54..de189d767 100644 --- a/lib/docker/image.rb +++ b/lib/docker/image.rb @@ -138,8 +138,8 @@ def remove(id, opts = {}, conn = Docker.connection) alias_method :delete, :remove # Prune images - def prune(conn = Docker.connection) - conn.post("/images/prune", {}) + def prune(opts = {}, conn = Docker.connection) + conn.post("/images/prune", opts) end