HeyPuter / puter

🌐 The Internet OS! Free, Open-Source, and Self-Hostable.
https://puter.com
GNU Affero General Public License v3.0
24.79k stars 1.6k forks source link

Puter docker container cannot start, write to /var/puter #694

Open mfrancisbeehive opened 4 weeks ago

mfrancisbeehive commented 4 weeks ago

Issue Description

Docker compose not working on Mac. Says it cannot write to /var/puter

Steps to Reproduce

  1. Create a new directory to hold puter files
  2. Change to the directory
  3. Paste and run the commands from the README for Docker Compose on Mac/Linux

Expected & Actual Behavior

Puter should start and run as normal

Addition Information or Screenshots (if applicable)

Captura de pantalla 2024-08-16 a la(s) 11 59 55 a m

Deployment

Puter version (if accessible)

Latest as of this issue submission

KernelDeimos commented 4 weeks ago

Hello, I'm not able to reproduce this issue. Please ensure you're running docker compose up in the correct directory - a directory containing a subdirectory puter with the sub-directories data and config.

Also you may want to know that running with docker compose currently comes with a disadvantage. The development console gets completely obliterated by Docker and you will be unable to get the password for the admin user or run any dev console commands.

Roi-Danton commented 2 weeks ago

I have the same problem. Did a fresh installation.

There are two options described how to do puter with docker. None of them worked for me.

DevBengel commented 2 weeks ago

Same here- i mounted two new docker volumes to puter. Same result. Its a permission issue. If you really chown the directories and/or volumes like stated (chown -R 1000:1000 puter) you are allowed to write. This is just a workaround in my opinion...

Best regards

Roi-Danton commented 2 weeks ago

Nope, this doesn't work for me. I tried every right I know. The UID 1000 is set in the yml file right? Because 1000 is another user for me. Not the one running the container.