From f78b0b8b85b0d264f297eda0a9a28bcba583d4b1 Mon Sep 17 00:00:00 2001 From: Stephen Thirlwall Date: Sun, 12 Nov 2023 11:47:50 +1100 Subject: [PATCH] Remove volumes in docker-cleanup https://github.com/docker/cli/issues/4028 --- bin/docker-cleanup | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/docker-cleanup b/bin/docker-cleanup index b90e0f8..29d9dcf 100755 --- a/bin/docker-cleanup +++ b/bin/docker-cleanup @@ -1,3 +1,5 @@ -#!/bin/bash -e +#!/bin/bash +set -e -docker system prune --volumes -f +docker system prune --force +docker volume prune --force --all