Skip to content

Commit

Permalink
Merge pull request #3407 from matzew/tweak_local_registry_connect
Browse files Browse the repository at this point in the history
Connect container run to kind network as bridge
  • Loading branch information
k8s-ci-robot authored Nov 10, 2023
2 parents 4819f2e + c0371cf commit b8c6bf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/static/examples/kind-with-registry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ reg_name='kind-registry'
reg_port='5001'
if [ "$(docker inspect -f '{{.State.Running}}' "${reg_name}" 2>/dev/null || true)" != 'true' ]; then
docker run \
-d --restart=always -p "127.0.0.1:${reg_port}:5000" --name "${reg_name}" \
-d --restart=always -p "127.0.0.1:${reg_port}:5000" --network bridge --name "${reg_name}" \
registry:2
fi

Expand Down

0 comments on commit b8c6bf4

Please sign in to comment.