Method: Docker::Image#remove

Defined in:
lib/docker/image.rb

#remove(opts = {}) ⇒ Object Also known as: delete

Remove the Image from the server.



77
78
79
# File 'lib/docker/image.rb', line 77

def remove(opts = {})
  connection.delete("/images/#{self.id}", opts)
end