
I installed docker and had it running. I ran the appwrite install commands from the official appwrite website. I got this error towards the end of the process.
Failed to save Docker Compose file

Did you run the command as super user or with su?

I ran the command in powershell as admin

Interesting. Can you try to run the command again in different folder?

I can also see the image in docker but they are so many vulnerabilities.

ok

same error on a different PowerShell folder.
Warning: file_put_contents(/usr/src/code/appwrite/docker-compose.yml.1679626762.backup): Failed to open stream: Permission denied in /usr/src/code/app/tasks/install.php on line 72
Env file found, creating backup: .env.1679626762.backup
Warning: file_put_contents(/usr/src/code/appwrite/.env.1679626762.backup): Failed to open stream: Permission denied in /usr/src/code/app/tasks/install.php on line 110
Choose your server HTTP port: (default: c)
Choose your server HTTPS port: (default: 443)
Choose a secret API key, make sure to make a backup of your key in a secure location (default: 'your-secret-key')
Enter your Appwrite hostname (default: 'localhost')
Enter a DNS A record hostname to serve as a CNAME for your custom domains.
You can use the same value as used for the Appwrite hostname. (default: 'localhost')
Warning: file_put_contents(/usr/src/code/appwrite/docker-compose.yml): Failed to open stream: Permission denied in /usr/src/code/app/tasks/install.php on line 203
Failed to save Docker Compose file
PS C:\WINDOWS\system32>

I think it because you running it on your system32 folder
Try to cd to a neutral location. For example to your user account folder In c:\users\ user

ok

Lmk

I successfully installed using docker as user. I had issues with port. ended up using gitpod. Thanks

[SOLVED] Failed to save Docker Compose file
Recommended threads
- Unable to connect. Is the computer able ...
Hi, I followed the self-hosted documentation, copied the docker compose and .env and executed the `docker compose up -d` command. I have appwrite running on my...
- Manually add a user to an organization w...
I've read around for a while now, but I cannot seem to find any support regarding adding a user to an organization manually without using an email.
- OTP is coming very slow
OTP is coming very slow plz check and remove appwrite branding name in otp msg
