Skip to content

Commit

Permalink
add docker compose rm
Browse files Browse the repository at this point in the history
Problem: a user might want a complete cleanup of containers
Solution: add a Makefile command for docker compose rm
Signed-off-by: vsoch <[email protected]>
  • Loading branch information
vsoch committed Nov 22, 2023
1 parent 72e178d commit 84a2a73
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ down:
down-v:
$(COMPOSE) down -v

.PHONY: rm
rm:
$(COMPOSE) rm

.PHONY: shell
shell:
$(NODE_SHELL) bash
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 84a2a73

Please sign in to comment.