Skip to content

Commit c0b4282

Browse files
authored
1 parent 2cb9406 commit c0b4282

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

articles/azure-functions/functions-create-function-linux-custom-image.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,8 @@ With the custom image running in a local Docker container, verify the function a
138138

139139
![Test the function app locally.](./media/functions-create-function-linux-custom-image/run-image-local-success.png)
140140

141-
You can optionally test your function again, this time in the local container using the following URL:
142-
143-
`http://localhost:8080/api/myhttptrigger?name=<yourname>`
141+
> [!NOTE]
142+
> At this point, when you try to call your specific HTTP function, you get an HTTP 401 error response. This is because your function runs in the local container as it would in Azure, which means that the function key is required. Because the container hasn't yet been published to a function app, there is no function key available. When you use Core Tools to publish your container, the function keys are shown to you. If you want to test your function running in the local container, you can change the [authorization key](functions-bindings-http-webhook.md#authorization-keys) to `anonymous`.
144143
145144
After you have verified the function app in the container, stop the execution. Now, you can push the custom image to your Docker Hub account.
146145

0 commit comments

Comments
 (0)