From 4aff326f890e60bb195683fc96f13a33aa4e9584 Mon Sep 17 00:00:00 2001 From: Alvaro Saurin Date: Mon, 20 Jan 2020 21:14:34 +0100 Subject: [PATCH] Fix the Registry detection Signed-off-by: Alvaro Saurin --- cli/registry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/registry.go b/cli/registry.go index 83bab9a1..49dc3bfe 100644 --- a/cli/registry.go +++ b/cli/registry.go @@ -198,7 +198,7 @@ func getRegistryContainer() (string, error) { } cFilter := filters.NewArgs() - cFilter.Add("name", fmt.Sprintf("^%s$", defaultRegistryContainerName)) + cFilter.Add("name", defaultRegistryContainerName) // filter with the standard list of labels of our registry for k, v := range defaultRegistryLabels { cFilter.Add("label", fmt.Sprintf("%s=%s", k, v))