Method: Jarl::Application#execute

Defined in:
lib/jarl/application.rb

#execute(execute_command, args) ⇒ Object



121
122
123
124
125
126
127
128
129
130
131
132
# File 'lib/jarl/application.rb', line 121

def execute(execute_command, args)
  Docker.execute(
    name: full_name,
    hostname: hostname,
    image: image_name,
    volumes: volumes,
    ports: ports,
    environment: environment,
    command: (execute_command || command || '') + ' ' + args.join(' '),
    logging: logging
  )
end