Skip to content

Commit

Permalink
Merge pull request #1944 from nicholasdille/master
Browse files Browse the repository at this point in the history
Prevent remote access to insecure registry
  • Loading branch information
BenTheElder authored Jan 20, 2021
2 parents afa3db2 + a10422a commit 3a39dde
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 @@ -7,7 +7,7 @@ reg_port='5000'
running="$(docker inspect -f '{{.State.Running}}' "${reg_name}" 2>/dev/null || true)"
if [ "${running}" != 'true' ]; then
docker run \
-d --restart=always -p "${reg_port}:5000" --name "${reg_name}" \
-d --restart=always -p "127.0.0.1:${reg_port}:5000" --name "${reg_name}" \
registry:2
fi

Expand Down

0 comments on commit 3a39dde

Please sign in to comment.