class Vtasks::Docker::Image::Tag

Docker Tag module

Public Class Methods

new(image, oldtag, newtag) click to toggle source
# File lib/vtasks/docker/image/tag.rb, line 10
def initialize(image, oldtag, newtag)
  info "Tagging #{image}:#{newtag}"
  system "docker image tag #{image}:#{oldtag} #{image}:#{newtag}"
end