arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.07508cs.DC
收藏

最小化构建HPC容器的权限

Minimizing privilege for building HPC containers

Reid Priedhorsky, R. Shane Canon, Timothy Randles, Andrew J. Younge

摘要:

HPC中心面临着对软件灵活性日益增长的需求,越来越多的人认为Linux容器是一个有前途的解决方案。然而,现有的容器构建解决方案需要root权限,并且不能直接在HPC资源上使用。随着超级计算机多样性的扩展以及HPC架构与商品计算资源的差异越来越大,这种限制变得更加复杂。我们的分析表明,这个问题可以通过低特权容器来解决。我们详细介绍了相关的Linux内核功能,提出了一种新的容器特权分类,并比较了两个开源实现:大多数无特权的无根Podman和完全无特权的Charliecloud。我们证明了在HPC资源上构建低特权容器现在可以工作,并将继续改进,为普通用户提供更好的工作流程来安全正确地构建容器。通过这种方式最小化权限可以提高HPC用户和开发人员的工作效率,并减少对exascale应用程序的支持工作量。

英文摘要:

HPC centers face increasing demand for software flexibility, and there is growing consensus that Linux containers are a promising solution. However, existing container build solutions require root privileges and cannot be used directly on HPC resources. This limitation is compounded as supercomputer diversity expands and HPC architectures become more dissimilar from commodity computing resources. Our analysis suggests this problem can best be solved with low-privilege containers. We detail relevant Linux kernel features, propose a new taxonomy of container privilege, and compare two open-source implementations: mostly-unprivileged rootless Podman and fully-unprivileged Charliecloud. We demonstrate that low-privilege container build on HPC resources works now and will continue to improve, giving normal users a better workflow to securely and correctly build containers. Minimizing privilege in this way can improve HPC user and developer productivity as well as reduce support workload for exascale applications.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑