Skip to content

Commit

Permalink
add instruction on how to use local docker registry
Browse files Browse the repository at this point in the history
This commit documents this issue (knative/serving#6101)
  • Loading branch information
xphoniex committed Dec 22, 2019
1 parent 0b0baba commit 0381a30
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/serving/getting-started-knative-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ adapted for your own application if you have an image of it available on
[Google Container Registry](https://cloud.google.com/container-registry/docs/pushing-and-pulling),
or another container image registry.

In case your image is in the local registry, you need to tag it as following first:

```bash
docker tag local-image dev.local/local-image # use dev.local/local-image in your yamls
```

The Hello World sample app reads in an `env` variable, `TARGET`, from the
configuration `.yaml` file, then prints "Hello World: \${TARGET}!". If `TARGET`
isn't defined, it will print "NOT SPECIFIED".
Expand Down

0 comments on commit 0381a30

Please sign in to comment.