aboutsummaryrefslogtreecommitdiff
path: root/tools/cleanup-containers
diff options
context:
space:
mode:
Diffstat (limited to 'tools/cleanup-containers')
-rwxr-xr-xtools/cleanup-containers2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/cleanup-containers b/tools/cleanup-containers
index efdd84376..4812f5744 100755
--- a/tools/cleanup-containers
+++ b/tools/cleanup-containers
@@ -4,6 +4,8 @@
REAL_PATH=$(python -c "import os,sys;print os.path.realpath('$0')")
cd "$(dirname "$REAL_PATH")/.."
+. tools/validate-docker-execute
+
# Remove docker containers
docker ps -a -q | while read -r line ; do
echo "Removing docker containers"