Class: Dip::Commands::DownAll
- Inherits:
-
Dip::Command
- Object
- Dip::Command
- Dip::Commands::DownAll
- Defined in:
- lib/dip/commands/down_all.rb
Instance Method Summary collapse
Methods inherited from Dip::Command
Instance Method Details
#execute ⇒ Object
8 9 10 11 12 |
# File 'lib/dip/commands/down_all.rb', line 8 def execute exec_subprocess( "docker rm --volumes $(docker stop $(docker ps --filter 'label=com.docker.compose.project' -q))" ) end |