docker-conanexiles
docker-conanexiles copied to clipboard
Run as non-root ?
I love this image, but I would like to ask how I can run it as non-root?
We are talking about running the supervisord process within the container as unpriviledged user, right?
We are talking about running the supervisord process within the container as unpriviledged user, right?
Exactly. My knowledge with supervisord is limited.
Should be possible by adding the "user=xxxx" argument to each program in conanexiles.conf - http://supervisord.org/configuration.html#program-x-section-values (find the user subsection).
Otherwise apps such as gosu & su-exec can be used to step-down to a non-privileged user.
I have not done any testing so far so there are probably some kinks that needs to ironed out.