Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/snippets/proc-running-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,15 @@ The `run` command builds an image for your function if required, and runs this i

=== "kn func"

Run the function locally, by running the command inside the project directory:
Run the function locally, by running the command inside the project directory. If you have not yet built the function you will need to provide the `--registry` flag:


```bash
cd hello
```

```bash
kn func run
kn func run [--registry <registry>]
```

Using this command also builds the function if necessary.
Expand Down
Loading