Class: Vader::Exec

Inherits:
Object
  • Object
show all
Defined in:
lib/vader/exec.rb

Instance Method Summary collapse

Instance Method Details

#runObject



3
4
5
6
7
8
9
10
# File 'lib/vader/exec.rb', line 3

def run
  DockerUtil.ensure_docker_configured

  command = [ "docker", "exec", "-ti", container ] + ARGV

  puts "Executing #{command.inspect}" if ENV['VADER_VERBOSE']
  exec(*command)
end