simplexmq icon indicating copy to clipboard operation
simplexmq copied to clipboard

[Docker] Containers run as root

Open Bjarne-La opened this issue 1 year ago • 1 comments

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 avatar Oct 24 '24 18:10 Bjarne-La

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.

Bjarne-La avatar Oct 26 '24 09:10 Bjarne-La