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 = [:container] || container_name([:service]) execute_command "docker attach #{container} #{args.join " "}" end |