Back

Should i run the appwrite containers as a root?

  • 0
  • Self Hosted
Bohda Řehák
4 Mar, 2024, 20:42

Hello, basically what the title says. Is it recommended to run them as a non root user in production env?

TL;DR
Running the Appwrite containers as root is easier due to Swoole, but you can run them as a non-root user in Docker's rootless mode for better security in a production environment.
Binyamin
4 Mar, 2024, 20:46

Appwrite uses `swoole` which is easier to run on root, But if you want you can run your Docker in rootless mode

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more