commit 1875655fe18a517978d5931d5d3dc75fabb2eeae parent fd5e77c085bf407158de94be68273c02f9509d4d Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Mon, 3 Dec 2018 21:46:59 +0100 Add docker-delete-all Diffstat:
A | links/bin/docker-delete-all | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/links/bin/docker-delete-all b/links/bin/docker-delete-all @@ -0,0 +1,5 @@ +#!/bin/bash +# Delete all containers +docker rm $(docker ps -a -q) +# Delete all images +docker rmi $(docker images -q)