-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Another permissions error when installing with docker-compose #2013
Comments
Just a request: One thing that would make this project way more accessible is if it could work in Portainer, a widely used tool for launching containerized applications. Asustor NAS servers support this application, and for apps that support it, launching a new service might be as simple as just pasting in a docker-compose file, or providing a path to a git repo with a docker-compose file. Portainer can take care of most things like building the images (if no official images exist), and then provides a handy control panel so the admin can browse logs. It really helps if the default Docker config "just works". Failing that, could we have a section on how to install with Docker? I couldn't see a mention of Docker in the manual. |
Have you tried latest changes? It's like an read/write problem in your host machine. |
Same error here |
Same issue here. I tried to change the UID/GID to match the user i have on my linux system(1000) and got this when building: I then modified the Dockerfile.ollama and the user creation looks like this: It worked! |
Sorry for the delay :( I just pushed a generic fix in #2059. |
I am having this issue right now. It's not a permissions issue. There is nothing in the folder. ./local_data is empty. If i copy paste private_gpt into it (I am just hacking, I have no idea if thats right, forgive me), it fails trying to find another file. Not permissions, there is no file. This is coming directly from a brand new "git clone" and then "docker compose up" kind of installation. |
@macornwell |
I did a checkout of fix/docker-permissions and it went through. I think this is the success you were looking for. |
@macornwell |
It is in the PR #2059 not available in v0.6.2. Use main branch. |
Pre-check
Description
This looks similar, but not the same as #1876
As for following the instructions, I've not seen any relevant guide to installing with Docker, hence working a bit blind.
Background: I'm trying to run this on an Asustor NAS, which offers very little ability to customize the environment. Ideally, I'd just like to be able to run this by pasting a docker-compose file into Portainer, and having it work it's magic from there:
Steps to Reproduce
Expected Behavior
It should just run
Actual Behavior
Error, as reported above
Environment
Running on an Asustor router, docker 25.0.5
Additional Information
No response
Version
latest
Setup Checklist
NVIDIA GPU Setup Checklist
nvidia-smi
to verify).sudo docker run --rm --gpus all nvidia/cuda:11.0.3-base-ubuntu20.04 nvidia-smi
)The text was updated successfully, but these errors were encountered: