diff --git a/container-engine-lib/lib/backend_impls/docker/docker_kurtosis_backend/engine_functions/docker_config_storage_creator/docker_config_storage_creator.go b/container-engine-lib/lib/backend_impls/docker/docker_kurtosis_backend/engine_functions/docker_config_storage_creator/docker_config_storage_creator.go index 671ff68a6e..e5a22cfa36 100644 --- a/container-engine-lib/lib/backend_impls/docker/docker_kurtosis_backend/engine_functions/docker_config_storage_creator/docker_config_storage_creator.go +++ b/container-engine-lib/lib/backend_impls/docker/docker_kurtosis_backend/engine_functions/docker_config_storage_creator/docker_config_storage_creator.go @@ -114,10 +114,10 @@ func storeConfigInVolume( for _, registry := range registries { creds, err := docker_manager.GetAuthFromDockerConfig(registry) if err != nil { - return stacktrace.NewError("An error occurred getting auth for registry '%v' from Docker config: %v", registry, err) + logrus.Warnf("An error occurred getting auth for registry '%v' from Docker config: %v", registry, err) } // creds can be nil if the registry doesn't have auth - if creds != nil { + if err != nil && creds != nil { cfg.Auths[registry] = *creds } }