lib/cide/cli.rb in cide-0.4.0 vs lib/cide/cli.rb in cide-0.4.1

- old
+ new

@@ -150,11 +150,11 @@ docker(:logs, '--tail', 20, info['Id']) end end # Shutdown old containers unless containers.empty? - docker :rm, '--force', *containers.reverse, + docker :rm, '--force', '--volumes', *containers.reverse, verbose: false, capture: true end end @@ -211,10 +211,10 @@ rescue Docker::Error => ex exit ex.exitstatus ensure # Shutdown old containers unless containers.empty? - docker :rm, '--force', *containers.reverse, + docker :rm, '--force', '--volumes', *containers.reverse, verbose: false, capture: true end end