diff --git a/tools/cleanup-containers b/tools/cleanup-containers index 698e6ef138..7b0e8341e0 100755 --- a/tools/cleanup-containers +++ b/tools/cleanup-containers @@ -1,3 +1,3 @@ #!/bin/bash -docker rm -f $(docker ps -a -q) +docker rm $@ $(docker ps -a -q) diff --git a/tools/cleanup-images b/tools/cleanup-images index 244b396047..df88e033a5 100755 --- a/tools/cleanup-images +++ b/tools/cleanup-images @@ -1,3 +1,3 @@ #!/bin/bash -docker rmi -f $(docker images -a -q) +docker rmi $@ $(docker images -a -q)