cluster/lib/cluster/runner.rb in sct-1.0.2 vs cluster/lib/cluster/runner.rb in sct-1.0.4
- old
+ new
@@ -22,9 +22,11 @@
if options.build
run_dc "build #{options.pull ? "--pull" : ""}"
end
+ run "docker container prune -f"
+
run_dc "up --detach"
if options.pull or options.build
system "docker image prune -f"
end