From 20427380b53df748c42d53fda798fb088caf5d36 Mon Sep 17 00:00:00 2001 From: Rafael Abdalla Date: Thu, 8 Aug 2024 17:26:30 +1000 Subject: [PATCH] Docker subnet 172.30.0.0/16 --- .github/workflows/e2e.yaml | 3 +-- .github/workflows/preview.yaml | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index c9f9f6c13..c2a69bf1b 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -56,5 +56,4 @@ jobs: chmod +x ./kind ./kind delete cluster || true make clean - docker system prune -af --volumes || true - docker network prune -f || true \ No newline at end of file + docker network create -d=bridge --subnet=172.30.0.0/16 kind || true \ No newline at end of file diff --git a/.github/workflows/preview.yaml b/.github/workflows/preview.yaml index 66ecccf51..2d522862e 100644 --- a/.github/workflows/preview.yaml +++ b/.github/workflows/preview.yaml @@ -31,7 +31,7 @@ jobs: chmod +x ./kind ./kind delete cluster || true make clean - docker network create -d=bridge --subnet=172.30.0.0/16 kind || true + docker network create -d=bridge --subnet=172.19.0.0/24 kind || true - name: Login to DockerHub uses: docker/login-action@v3 with: @@ -69,8 +69,6 @@ jobs: chmod +x ./kind ./kind delete cluster || true make clean - docker system prune -af --volumes || true - docker network prune -f || true echo cleaning up docker files as kind load docker-image seems to leave dangling files in the data directory that docker does not detect and so pruning with docker cli doesnt work sudo systemctl stop docker