From 84a2a736fbf57826bb470b40ff14048f05187a80 Mon Sep 17 00:00:00 2001 From: vsoch Date: Tue, 21 Nov 2023 23:07:46 -0700 Subject: [PATCH] add docker compose rm Problem: a user might want a complete cleanup of containers Solution: add a Makefile command for docker compose rm Signed-off-by: vsoch --- Makefile | 4 ++++ README.md | 3 +++ 2 files changed, 7 insertions(+) diff --git a/Makefile b/Makefile index d458f09..f420c53 100644 --- a/Makefile +++ b/Makefile @@ -71,6 +71,10 @@ down: down-v: $(COMPOSE) down -v +.PHONY: rm +rm: + $(COMPOSE) rm + .PHONY: shell shell: $(NODE_SHELL) bash diff --git a/README.md b/README.md index c18726e..bc557de 100644 --- a/README.md +++ b/README.md @@ -107,6 +107,9 @@ make logs make shell make down-v kubectl taint nodes --all node-role.kubernetes.io/control-plane- + +# Remove all containers +make rm ``` The container engine defaults to Docker.