My Blog

toolman xyz

  1. Home
  2. About
  3. Archives
  4. Tags
  5. Search
  6. Links
  7. Disclaimer
  8. RSS

Table of contents

  • 📌 Introduction
  • 🗒️ Notes
  • 📖 Ref.

advertise

Featured image of post 在 Docker 中連接實體機上的 Ollama:解決 localhost 連線問題
Docker

在 Docker 中連接實體機上的 Ollama:解決 localhost 連線問題

Nov 01, 2024
1 minute read

📌 Introduction

在 Docker 中執行 Dify 的容器,想要使用安裝在實體機的 Ollama 時,使用 localhost:114343 可能會連不到 Ollama,需要改成 host.docker.internal 。

🗒️ Notes

host.docker.internal

📖 Ref.

https://stackoverflow.com/a/63112795

 

Docker Ollama VM
Licensed under CC BY-NC-SA 4.0
Last updated on Nov 02, 2024 01:00 CST

Related content

Featured image of post Create a Docker container with external SSH access and Nvidia GPU support

Create a Docker container with external SSH access and Nvidia GPU support

Featured image of post Use PHP router in Docker container with Apache

Use PHP router in Docker container with Apache

© 2020 - 2025 My Blog
Built with Hugo
Theme Stack designed by Jimmy