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

选择host方式部署,并alist本地设置了aria下载的路径可以调整到宿主机吗? #11

Open
chenhonghe2021 opened this issue Feb 25, 2024 · 2 comments

Comments

@chenhonghe2021
Copy link

chenhonghe2021 commented Feb 25, 2024

选择host网络方式部署,在alist右下角,本地设置了aria成功(rpc没密码),调取的下载文件路径/root/Download
实际操作发现都是在docker的转存路径下:diff/root/Download、/merged/root/Download/ 两份
详情如下:
/var/lib/docker/overlay2/7fe6e7895ecd90c67191bba97b58d75a2c229ac21906b3bf0d8d329a0d9b7050/diff/root/Download/2021年度考试录用公务员报名推荐表.doc
/var/lib/docker/overlay2/7fe6e7895ecd90c67191bba97b58d75a2c229ac21906b3bf0d8d329a0d9b7050/merged/root/Download/2021年度考试录用公务员报名推荐表.doc
“……这个服务在启动的时候因为一些疏忽,没有将他要存储文件的路径挂载到宿主机中,导致这个服务一直在往容器内的某个路径写文件,但是在宿主机上,变成了diff文件夹占用一份,merged文件夹占用一份,磁盘空间就这么被吃掉了。“
希望优化可以设置这个下载路径到宿主机~~3k

@chenhonghe2021 chenhonghe2021 changed the title host部署后,alist本地设置了aria后,下载文件路径docker的可以调整到宿主机吗? 选择host方式部署,并alist本地设置了aria下载的路径可以调整到宿主机吗? Feb 25, 2024
@lyqnihao
Copy link

给容器增加一条挂载路径再重启一下可以吗?

@chenhonghe2021
Copy link
Author

给容器增加一条挂载路径再重启一下可以吗?

我还没去试呢!是增加了是吗?

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

2 participants