diff --git a/pkg/kind/kind.go b/pkg/kind/kind.go index 93630fcb..4a784a93 100644 --- a/pkg/kind/kind.go +++ b/pkg/kind/kind.go @@ -139,7 +139,7 @@ func createLocalRegistry() error { } localRegCheck := exec.Command( "docker", "run", "-d", "--restart=always", "-p", "0.0.0.0:"+container_reg_port+":5000", - "--name", container_reg_name, "registry:2", + "--network", "bridge", "--name", container_reg_name, "registry:2", ) if err := localRegCheck.Run(); err != nil { return fmt.Errorf("failed to create local registry container: %w", err)