From a445163fd07a71ffbb1c4f254ec6e242a8b1e98b Mon Sep 17 00:00:00 2001 From: Laurent Luce Date: Mon, 18 Dec 2023 11:03:50 -0400 Subject: [PATCH] fix: Do not fail if the Traefik config dir path already exists (#1966) ## Description: There is a race condition between Traefik and us trying to create the config dir. ## Is this change user facing? NO --- .../traefik/traefik_container_config_provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container-engine-lib/lib/backend_impls/docker/docker_kurtosis_backend/reverse_proxy_functions/implementations/traefik/traefik_container_config_provider.go b/container-engine-lib/lib/backend_impls/docker/docker_kurtosis_backend/reverse_proxy_functions/implementations/traefik/traefik_container_config_provider.go index b9de2a05c9..0df74c75df 100644 --- a/container-engine-lib/lib/backend_impls/docker/docker_kurtosis_backend/reverse_proxy_functions/implementations/traefik/traefik_container_config_provider.go +++ b/container-engine-lib/lib/backend_impls/docker/docker_kurtosis_backend/reverse_proxy_functions/implementations/traefik/traefik_container_config_provider.go @@ -51,7 +51,7 @@ func (traefik *traefikContainerConfigProvider) GetContainerArgs( overrideCmd := []string{ shCmdFlag, fmt.Sprintf( - "%v '%v' && %v '%v' > %v && %v", + "%v -p '%v' && %v '%v' > %v && %v", mkdirCmdName, configDirpath, printfCmdName,