From f4343f7dc0abe3aa9c1ee3c62043215b3cc486e4 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Wed, 5 Feb 2025 19:02:05 -0500 Subject: [PATCH] docs: clarify host.docker.internal works for recent podman (#977) The host.docker.internal alias was implemented in podman 4.7.0: https://github.com/containers/podman/commit/b672ddc7929aae0c58768da38dca2adc983910e5 Signed-off-by: Ihar Hrachyshka # What does this PR do? Follow-up to previous podman specific doc update. ## Test Plan Please describe: - tests you ran to verify your changes with result summaries. - provide instructions so it can be reproduced. ## Sources Please link relevant resources if necessary. ## Before submitting - [x] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [x] Ran pre-commit to handle lint / formatting issues. - [ ] Read the [contributor guideline](https://github.com/meta-llama/llama-stack/blob/main/CONTRIBUTING.md), Pull Request section? - [ ] Updated relevant documentation. - [ ] Wrote necessary unit or integration tests. Signed-off-by: Ihar Hrachyshka --- docs/source/getting_started/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/getting_started/index.md b/docs/source/getting_started/index.md index 1ddc5ff54..01cef5400 100644 --- a/docs/source/getting_started/index.md +++ b/docs/source/getting_started/index.md @@ -62,7 +62,7 @@ docker run -it \ --env OLLAMA_URL=http://host.docker.internal:11434 ``` -As another example, to start the container with Podman, you can do the same but replace `docker` at the start of the command with `podman` and replace `host.docker.internal` in the `OLLAMA_URL` with `host.containers.internal`. +As another example, to start the container with Podman, you can do the same but replace `docker` at the start of the command with `podman`. If you are using `podman` older than `4.7.0`, please also replace `host.docker.internal` in the `OLLAMA_URL` with `host.containers.internal`. Configuration for this is available at `distributions/ollama/run.yaml`.