wahyd4 / aria2-ariang-x-docker-compose

Docker compose files for Aria2+ AriaNg+ filerun/ Nextcloud/ h5ai + Plex. 图形化BT,磁力,离线下载,文件管理,播放,投屏
1.78k stars 282 forks source link

用户权限问题 #82

Closed FormatToday closed 4 years ago

FormatToday commented 4 years ago

能否指定docker运行时的用户或者用户组,这样aria+nextcloud就不需额外配置了。 或者指定docker容器内执行命令的用户不为root,统一为www-data

FormatToday commented 4 years ago

https://yeasy.gitbooks.io/docker_practice/image/dockerfile/user.html 我好想找到了一篇文章,不知道有没有用

wahyd4 commented 4 years ago

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.

FormatToday commented 4 years ago

Can it be possible by modifying the aria image?

FormatToday commented 4 years ago

make the aria run by 'www-data' in container

wahyd4 commented 4 years ago

The user id and group id matter, not because of the username.

FormatToday commented 4 years ago

Get it,thank you anyway.