simplex-chat / simplexmq

⚙️ SimpleXMQ - A reference implementation of the SimpleX Messaging Protocol for simplex queues over public networks.
https://simplex.chat
GNU Affero General Public License v3.0
539 stars 62 forks source link

[Docker] Containers run as root #1383

Open Bjarne-La opened 3 weeks ago

Bjarne-La commented 3 weeks ago

Hello SimpleX Chat team and community!

I noticed that the docker containers built from the prebuilt or manually built images as described in the documentation run with root privileges on the host system. I spent some time trying to change that, but had no success yet.

Can anybody help me with that?

Bjarne-La commented 3 weeks ago

I found a solution for this problem. The config and log folders have to belong to the user that runs the docker container. With the -u flag, you can set a user ID which executes the container.

I can create a pull request for the documentation if anybody finds this helpful.