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

Add support to install nerdctl and buildkit with the alpine-iso template #2807

Open
jandubois opened this issue Oct 25, 2024 · 4 comments
Open

Comments

@jandubois
Copy link
Member

jandubois commented Oct 25, 2024

All 3 binaries are now available in Alpine 3.17, from buildctl and buildkit <sic> and nerdctl apks.

Will make a separate PR to make the setuid chmod optional, to require using sudo with nerdctl...

Originally posted by @afbjorklund in lima-vm/alpine-lima#77 (comment)

@jandubois
Copy link
Member Author

I've only created this issue because I want to close lima-vm/alpine-lima#77.

I'm not sure if we care about supporting containerd.system: true for Alpine (although the code would then also work for the regular non-ISO image.

I'm also fine with closing this issue and leaving it to the user to install additional packages via provisioning scripts.

@afbjorklund
Copy link
Member

I'm also fine with closing this issue and leaving it to the user to install additional packages via provisioning scripts.

That is OK with me, the original issue was only to split the installation in the ISO into the same three components...

@afbjorklund
Copy link
Member

I think the nerdctl containerd-rootless-setuptool.sh script had some issues, when trying to run it outside of systemd.

@AkihiroSuda
Copy link
Member

AkihiroSuda commented Oct 28, 2024

containerd-rootless-setuptool.sh is dedicated for systemd, but containerd-rootless.sh should work without it
(haven't tried with Alpine)

jandubois added a commit to jandubois/lima that referenced this issue Oct 28, 2024
Replace the "hint" to use the "rd" edition with a generic note to install
containerd, buildkit, and nerdctl via provisioning script. Advice may change
again depending on lima-vm#2807.

Signed-off-by: Jan Dubois <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants