We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57d2518 commit 5a98a78Copy full SHA for 5a98a78
Makefile
@@ -423,6 +423,8 @@ down: ## Stops and removes stack
423
ifneq ($(wildcard .stack-*), )
424
-@rm $(wildcard .stack-*)
425
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
428
429
leave: ## Forces to stop all services, networks, etc by the node leaving the swarm
430
-docker swarm leave -f
0 commit comments