class Sonic::Ecs
Public Instance Methods
exec(service, *command)
click to toggle source
# File lib/sonic/ecs.rb, line 11 def exec(service, *command) Docker.new(service, options.merge(command: command)).exec end
sh(service, *command)
click to toggle source
# File lib/sonic/ecs.rb, line 18 def sh(service, *command) Docker.new(service, options.merge(command: command)).run end