Class: Dip::Commands::SSH::Down
- Inherits:
-
Dip::Command
- Object
- Dip::Command
- Dip::Commands::SSH::Down
- Defined in:
- lib/dip/commands/ssh.rb
Instance Method Summary collapse
Methods inherited from Dip::Command
Instance Method Details
#execute ⇒ Object
38 39 40 41 42 |
# File 'lib/dip/commands/ssh.rb', line 38 def execute subshell("docker", "stop ssh-agent".shellsplit, panic: false, out: File::NULL, err: File::NULL) subshell("docker", "rm -v ssh-agent".shellsplit, panic: false, out: File::NULL, err: File::NULL) subshell("docker", "volume rm ssh_data".shellsplit, panic: false, out: File::NULL, err: File::NULL) end |