Class: Dockerun::Cli::Run

Inherits:
Object
  • Object
show all
Includes:
DSL
Defined in:
lib/dockerun/cli/run.rb

Instance Method Summary collapse

Methods included from DSL

#config, #container_name, #dockerfile_patch, #exec_root, #from, #go, #image_name, #listener, #set_dry_run_mode, #set_exec_root, #up

Instance Method Details

#start(root) ⇒ Object



11
12
13
14
15
16
17
18
19
# File 'lib/dockerun/cli/run.rb', line 11

def start(root)
  set_exec_root(root)
  begin
    pmt.puts " Dockerun version #{Dockerun::VERSION}".yellow
    pmt.puts " Operational : Run Spec"
    load_spec
  rescue TTY::Reader::InputInterrupt
  end
end