While installing coder facing problem regarding Read-only file system

I am installing coder from their official getting started guide and I am facing error that I have attached as an image.

No matter what I do I am not able to change the Read-only file system.

I am beginner and may be I am doing something wrong while changing permission.

Please guide me how to do it correctly.

And please don’t suggest me to install coder-server. I want to install coder because it has lot more functionalities.

image

Add images

It is not recommended that you install docker app in CLI environment.

Manual installation is demoed as the pic above. Modify and paste the compose file content here and click install.

Follow the code snippets from the official doc:

Look forward to your success.

Encountered an error running “coder server”, see “coder server --help” for more information

error: create cache directory: mkdir /home/coder/.cache: permission denied

more information

Please help me out, I have followed the exact same steps you mentioned and the error logs I have attached above is from portainer.

I think you need provide more info both for this post and your installation process.

You need modify this file according to your machine: coder/docker-compose.yaml at main · coder/coder · GitHub

The detailed guide is here: Install Coder with Docker: Step-by-Step Guide | Coder Docs

Do you want to run vscode on zimaos? And then use it as a remote development host?
If so, you can follow the steps below:

If you use VSCode as your IDE, you will need to manually specify remote.SSH.serverInstallPath to be /DATA, because /root is read-only.

For example, let us say the IP address of your ZimaOS is 192.168.1.101, make sure following setting exists in the settings.json of VSCode.

Open Command Palette by [Ctrl]+[Alt]+[P], then search for Preferences: Open User Settings (JSON)

“remote.SSH.serverInstallPath”: { “192.168.1.101”: “/DATA”, },

1 Like

I am getting below error in logs in portainer

error: create cache directory: mkdir /home/coder/.cache: permission denied

I am installing coder with the steps you provided with docker-compose.yaml file

what should i modify in docker-compose file?

I cant see any directory mentioned in docker-compose file as /home/coder/.cache

image

You should change /home/coder to /DATA/AppData/coder