From 98c19a94932d7861baa9b7642ed93af8a7bfa9c0 Mon Sep 17 00:00:00 2001 From: Noisekit Date: Fri, 6 Dec 2024 17:41:21 +1100 Subject: [PATCH] Cannot remove without force --- docker-compose.dev.yml | 2 -- docker-compose.yml | 2 -- scripts/app-stop.sh | 2 +- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 4e5d47d..5620f97 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -1,5 +1,3 @@ -version: '3.9' - services: api: container_name: api diff --git a/docker-compose.yml b/docker-compose.yml index 669be83..5b05359 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,3 @@ -version: '3.9' - x-logging: &default-logging driver: awslogs options: diff --git a/scripts/app-stop.sh b/scripts/app-stop.sh index 2d26af5..bfb4488 100755 --- a/scripts/app-stop.sh +++ b/scripts/app-stop.sh @@ -4,5 +4,5 @@ bin_path=/usr/bin docker_path=$home_path/.docker/cli-plugins cd $home_path/snx-api && - $docker_path/docker-compose down --volumes --rmi all && + $docker_path/docker-compose down --volumes && $bin_path/docker system prune --all --volumes --force