Skip to content

Commit

Permalink
🧹 Run registry as bridge network (knative-extensions#525)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Wessendorf <[email protected]>
  • Loading branch information
matzew authored Jun 18, 2024
1 parent 6c6a816 commit 770d27b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kind/kind.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 770d27b

Please sign in to comment.