Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docker] Containers run as root #1383

Open
Bjarne-La opened this issue Oct 24, 2024 · 1 comment
Open

[Docker] Containers run as root #1383

Bjarne-La opened this issue Oct 24, 2024 · 1 comment

Comments

@Bjarne-La
Copy link

Bjarne-La commented Oct 24, 2024

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant