class Docker::Repository

Attributes

id[R]
image_id[R]

Public Class Methods

new(id, name) click to toggle source
# File lib/docker/repository.rb, line 5
def initialize(id, name)
  @id       = name 
  @image_id = id 
end

Public Instance Methods

remove!() click to toggle source
# File lib/docker/repository.rb, line 10
def remove!
  `docker rmi #{id}`
end
remove_image!() click to toggle source
# File lib/docker/repository.rb, line 14
def remove_image!
  `docker rmi -f #{image_id}`
end
to_s() click to toggle source
# File lib/docker/repository.rb, line 18
def to_s
  id 
end