Skip to content

Commit 5a98a78

Browse files
author
Andrei Neagu
committed
revert cahnge
1 parent 57d2518 commit 5a98a78

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,8 @@ down: ## Stops and removes stack
423423
ifneq ($(wildcard .stack-*), )
424424
-@rm $(wildcard .stack-*)
425425
endif
426+
# Removing local registry if any
427+
-@docker ps --all --quiet --filter "name=$(LOCAL_REGISTRY_HOSTNAME)" | xargs --no-run-if-empty docker rm --force
426428

427429
leave: ## Forces to stop all services, networks, etc by the node leaving the swarm
428430
-docker swarm leave -f

0 commit comments

Comments
 (0)