Method: Jarl::Application::Instance#start!

Defined in:
lib/jarl/application.rb

#start!Object



201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
# File 'lib/jarl/application.rb', line 201

def start!
  return if running?
  # puts esc_yellow("Starting #{application.name}.#{n}") if n

  Docker.start(
    name: full_name,
    hostname: hostname,
    image: application.image_name,
    volumes: application.volumes,
    ports: application.ports,
    environment: application.environment,
    command: application.command,
    logging: application.logging
  )
end