Method: Mrsk::Commands::Accessory#run_exec

Defined in:
lib/mrsk/commands/accessory.rb

#run_exec(*command, interactive: false) ⇒ Object



58
59
60
61
62
63
64
65
66
# File 'lib/mrsk/commands/accessory.rb', line 58

def run_exec(*command, interactive: false)
  docker :run,
    ("-it" if interactive),
    "--rm",
    *env_args,
    *volume_args,
    image,
    *command
end