logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

ubuntu dify-1.5.0添加ollama模型报错:Connection refused以及No route to host

修改docker-compose配置,增加host.docker.internal配置,让docker启动时,自动往容器的/etc/hosts文件中增加域名映射。在start部分添加启动服务的命令,在stop部分添加停止服务的命令,以及在restart部分添加重新启动服务的命令。OLLAMA_BIN="/u01/ollama/bin/ollama"# 确认ollama可执行文件路径,OLLAMA_

#数据库#postgresql#sqlserver
wsl2使用Ubuntu安装docker,执行docker命令报错:Cannot connect to the Docker daemon at unix:///var/run/docker.soc

报错:unable to get image 'langgenius/dify-plugin-daemon:0.1.2-local': Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?就算执行了 service docker start,查看servic

#ubuntu#docker#unix
到底了