零一致性根权限容器镜像构建的仿真
分布式、并行与集群计算
2024-05-13 v1 操作系统
摘要
Linux 发行版的包管理器所请求的特权操作是否真的需要发生?至少对于构建 HPC 应用程序的容器镜像而言,显然并不需要。我们利用这一观察来实现一种根仿真模式,通过使用 Linux seccomp 过滤器拦截某些特权系统调用、执行无操作并返回成功给调用程序。这种方法毫无一致性,但看起来足以构建我们检查的所有 Dockerfile,从而简化 HPC 应用程序容器的完全无特权工作流程。
引用
@article{arxiv.2405.06085,
title = {Zero-consistency root emulation for unprivileged container image build},
author = {Reid Priedhorsky and Michael Jennings and Megan Phinney},
journal= {arXiv preprint arXiv:2405.06085},
year = {2024}
}
备注
7 pages, 2 figures