From dfc5c32af5d206bcde2722429c0df662389d809c Mon Sep 17 00:00:00 2001 From: Alexey Odinokov Date: Mon, 15 Jun 2020 08:33:19 +0000 Subject: [PATCH] Added manual start of rootless docker --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2525dd619..da241a5a2 100644 --- a/Makefile +++ b/Makefile @@ -207,7 +207,7 @@ $(MYDOCKERBIN)/docker: .PHONY: test-unit-kustomize-api test-unit-kustomize-api: build-kustomize-api $(MYDOCKERBIN)/docker - cd api; DOCKER_HOST=unix://$(XDG_RUNTIME_DIR)/docker.sock go test ./... -ldflags "-X sigs.k8s.io/kustomize/api/provenance.version=v444.333.222" + export XDG_RUNTIME_DIR=/tmp/docker-0; export DOCKER_HOST=unix:///tmp/docker-0/docker.sock; /root/bin/dockerd-rootless.sh --experimental --iptables=false --storage-driver vfs &; cd api; go test ./... -ldflags "-X sigs.k8s.io/kustomize/api/provenance.version=v444.333.222" .PHONY: test-unit-kustomize-plugins test-unit-kustomize-plugins: