Skip to content

Question: Rootless container #442

@hollow-earth

Description

@hollow-earth

Is there the possibility of running the docker container rootless? I assume so because of #380 but I might be wrong.
I'm using the docker-compose file provided and I get the following error:

searxng | /usr/sbin/update-ca-certificates: line 109: can't create /etc/ssl/certs/ca-certificates.crt.new: Permission denied

It's pretty straightforward what the error is, a rootless container and therefore a user that is not root cannot write there.

In the documentation:

You can mount /usr/local/share/ca-certificates/ folder to add/remove additional certificates as needed.

They will be available on container (re)start or when running update-ca-certificates in the container shell.

In this case, would it be recommended to make my own certificate and mount said directory? Or is there a better way to do this?
Thank you.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions