We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在新的镜像站机器上配置了 Docker 容器运行时的文件放置到单独的挂载点上(目前分配了 8G 空间),但是在运行时发现有些同步的容器会把很多数据放在 /tmp 里面(比如说 Fedora 同步会放置将近 3G 的数据在里面),而默认容器中 /tmp 没有单独的挂载点,会占用磁盘空间。
/tmp
尽管可以扩容,但是或许在 yukid 设置里添加 tmpfs mount 的设定会更好一些?
yukid
The text was updated successfully, but these errors were encountered:
听起来似乎可以把主机的 /tmp 挂到容器里?如果可以的话可以参考下这里的配置 https://github.com/ustclug/Yuki/blob/master/cmd/yukid/README.md#repo-configuration 的 volumes 字段
volumes
Sorry, something went wrong.
如果 tmpfs 成为全局行为, 多个依赖 /tmp 的同步程序都会从中受益,减少 IO 开销。如 fedora, freebsd-pkg/ports, homebrew-bottles ...
knight42
Successfully merging a pull request may close this issue.
在新的镜像站机器上配置了 Docker 容器运行时的文件放置到单独的挂载点上(目前分配了 8G 空间),但是在运行时发现有些同步的容器会把很多数据放在
/tmp
里面(比如说 Fedora 同步会放置将近 3G 的数据在里面),而默认容器中/tmp
没有单独的挂载点,会占用磁盘空间。尽管可以扩容,但是或许在
yukid
设置里添加 tmpfs mount 的设定会更好一些?The text was updated successfully, but these errors were encountered: