Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Commit

Permalink
Hardcode ip of docker registry
Browse files Browse the repository at this point in the history
- this is to facilitate configuring kpack's docker registry (we don't
have to parse out the dynamic ip assigned to the registry. instead we
can hardcode the ip address of the registry)

[#170108403](https://www.pivotaltracker.com/story/show/170108403)

Co-authored-by: Dennis Leon <[email protected]>
Co-authored-by: Lisa Cho <[email protected]>
  • Loading branch information
DennisDenuto and Lisa Cho committed Feb 24, 2020
1 parent 2e0b213 commit e1e04a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ running := "$(shell docker inspect -f '{{.State.Running}}' "kind-registry" 2>/de
image-local-registry: SHELL:=/bin/bash
image-local-registry:
[ $(running) != "true" ] && docker run \
-d --restart=always -p "5000:5000" --name "kind-registry" \
--ip 172.17.0.2 -d --restart=always -p "5000:5000" --name "kind-registry" \
registry:2 || true
docker build --no-cache -t cfpersi/smb-plugin .
docker tag cfpersi/smb-plugin localhost:5000/cfpersi/smb-plugin:local-test
Expand Down

0 comments on commit e1e04a4

Please sign in to comment.