Method: Containers::CLI#attach

Defined in:
lib/containers/commands/attach.rb

#attach(*args) ⇒ Object



7
8
9
10
# File 'lib/containers/commands/attach.rb', line 7

def attach(*args)
  container = options[:container] || container_name(options[:service])
  execute_command "docker attach #{container} #{args.join " "}"
end