Closed FormatToday closed 5 years ago
https://yeasy.gitbooks.io/docker_practice/image/dockerfile/user.html 我好想找到了一篇文章,不知道有没有用
For the first question, the answer is no. There is no way of doing this. For the second one, due to the Nextcloud is not made me, I can't change it. Furthermore, the nextcloud cloud docker image is pretty complex, it's not easy to manage in a simple way.
Can it be possible by modifying the aria image?
make the aria run by 'www-data' in container
The user id and group id matter, not because of the username.
Get it,thank you anyway.
能否指定docker运行时的用户或者用户组,这样aria+nextcloud就不需额外配置了。 或者指定docker容器内执行命令的用户不为root,统一为www-data