class Tinet::Command::Pull

Public Instance Methods

run() click to toggle source
# File lib/tinet/command/pull.rb, line 6
def run
  nodes.each do |node|
    unless node.image.nil?
      stdout, * = sudo "docker pull #{node.image}"
      logger.info stdout unless dry_run
    end
  end
end