Zero-consistency root emulation for unprivileged container image build

Reid PriedhorskyLos Alamos National Laboratory, Michael JenningsLos Alamos National Laboratory, Megan Phinney
{"title":"Zero-consistency root emulation for unprivileged container image build","authors":"Reid PriedhorskyLos Alamos National Laboratory, Michael JenningsLos Alamos National Laboratory, Megan Phinney","doi":"arxiv-2405.06085","DOIUrl":null,"url":null,"abstract":"Do Linux distribution package managers need the privileged operations they\nrequest to actually happen? Apparently not, at least for building container\nimages for HPC applications. We use this observation to implement a root\nemulation mode using a Linux seccomp filter that intercepts some privileged\nsystem calls, does nothing, and returns success to the calling program. This\napproach provides no consistency whatsoever but appears sufficient to build all\nDockerfiles we examined, simplifying fully-unprivileged workflows needed for\nHPC application containers.","PeriodicalId":501333,"journal":{"name":"arXiv - CS - Operating Systems","volume":"40 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-05-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Operating Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2405.06085","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Do Linux distribution package managers need the privileged operations they request to actually happen? Apparently not, at least for building container images for HPC applications. We use this observation to implement a root emulation mode using a Linux seccomp filter that intercepts some privileged system calls, does nothing, and returns success to the calling program. This approach provides no consistency whatsoever but appears sufficient to build all Dockerfiles we examined, simplifying fully-unprivileged workflows needed for HPC application containers.
为无特权容器镜像构建零一致性 root 仿真
Linux 发行版软件包管理器需要实际执行它们所请求的特权操作吗?显然不需要,至少在为高性能计算应用构建容器图像时不需要。我们利用这一观察结果,使用 Linux seccomp 过滤器实现了一种根模拟模式,该过滤器拦截一些特权系统调用,什么也不做,然后向调用程序返回成功。这种方法没有提供任何一致性,但似乎足以构建我们检查过的所有Docker文件,简化了高性能计算应用容器所需的完全非特权工作流程。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信