From 7df7ae4b178d8d9b5504fb280d26e21efc4d1bd4 Mon Sep 17 00:00:00 2001 From: ansgarz Date: Wed, 8 Dec 2021 10:58:44 +0100 Subject: [PATCH] wip --- src/test/resources/local-integration-test/setup-docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/resources/local-integration-test/setup-docker.sh b/src/test/resources/local-integration-test/setup-docker.sh index 7f411f5..4ece0ca 100755 --- a/src/test/resources/local-integration-test/setup-docker.sh +++ b/src/test/resources/local-integration-test/setup-docker.sh @@ -6,7 +6,7 @@ docker volume create k3s-server container_name='intst' -;[[ $(docker ps -f "name=$name" --format '{{.Names}}') == $name ]] || +#[[ $(docker ps -f "name=$name" --format '{{.Names}}') == $name ]] || docker run --name "$name" -d --privileged --tmpfs /run --tmpfs /var/run --restart always -e K3S_TOKEN=12345678901234 -e K3S_KUBECONFIG_OUTPUT=./kubeconfig.yaml -e K3S_KUBECONFIG_MODE=666 -v k3s-server:/var/lib/rancher/k3s:z -v $(pwd):/output:z -p 6443:6443 -p 80:80 -p 443:443 rancher/k3s server --cluster-init --tls-san k3stesthost --tls-san cloudhost docker ps