Skip to content
New issue

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

doc: Rootless lazy pulling with Podman, nerdctl and BuildKit #1061

Merged
merged 1 commit into from
Jan 19, 2023

Conversation

ktock
Copy link
Member

@ktock ktock commented Jan 18, 2023

This commit adds docs about rootless lazy pulling of eStargz with Podman, nerdctl and BuildKit.

Experimental configuration of Podman + rootless Stargz Store is currently implemented using podman unshare for putting both of them into the same namespace.

$ podman unshare stargz-store --root $HOME/.local/share/stargz-store/data $HOME/.local/share/stargz-store/store &
$ podman pull ghcr.io/stargz-containers/python:3.9-esgz

Current limitation of this approach is --uidmap flag of podman run doesn't work.
So we mark this configuration as "experimental" and will work on further investigation and improvement for eliminating the limitation.

 $ podman run -d --uidmap 0:10000:5000 --rm ghcr.io/stargz-containers/alpine:3.10.2-esgz sleep 10000
 Error: creating container storage: creating an ID-mapped copy of layer "9e0573c62127729a89b3e728371ebe4bd4a77996ea57c8f06bf8760bac3cf16d": error during chown: storage-chown-by-maps: lchown bin/arch: no such device or address: exit status 1

@ktock ktock force-pushed the rootless branch 6 times, most recently from 962aff3 to ae65d8e Compare January 18, 2023 05:52
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
@ktock ktock marked this pull request as ready for review January 19, 2023 00:53
@AkihiroSuda AkihiroSuda merged commit 67e5984 into containerd:main Jan 19, 2023
@ktock ktock deleted the rootless branch January 19, 2023 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants