Skip to content

Commit 7bb8ce5

Browse files
committed
Fixed an issue with the image cleanup at the end of docker/run
- Legacy-Id: 14992
1 parent f47e5cc commit 7bb8ce5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docker/run

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,6 @@ else
236236
echo ""
237237
echo "Cleaning up containers and images"
238238
docker rm $latest
239-
docker images -f dangling=true -q | xargs docker rmi -f
239+
docker images -f dangling=true -q | xargs -r docker rmi -f
240240

241-
fi
241+
fi

0 commit comments

Comments
 (0)