Zero-consistency root emulation for unprivileged container image build

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Priedhorsky, Reid, Jennings, Michael, Phinney, Megan
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929339042365440
author Priedhorsky, Reid
Jennings, Michael
Phinney, Megan
author_facet Priedhorsky, Reid
Jennings, Michael
Phinney, Megan
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2405_06085
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Zero-consistency root emulation for unprivileged container image build
Priedhorsky, Reid
Jennings, Michael
Phinney, Megan
Distributed, Parallel, and Cluster Computing
Operating Systems
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.
title Zero-consistency root emulation for unprivileged container image build
topic Distributed, Parallel, and Cluster Computing
Operating Systems
url https://arxiv.org/abs/2405.06085