We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The setup in the default cidata (for containerd) is now mandatory, since otherwise containers don't work:
https://github.com/lima-vm/lima/blob/v0.21.0/pkg/cidata/cidata.TEMPLATE.d/boot/40-install-containerd.sh#L80
It comes with a default allowance for rootlesskit, but only when installed in /usr/bin/rootlesskit
/usr/bin/rootlesskit
And it needs similar setup, for Apptainer to work... Since it doesn't support Ubuntu, it doesn't affect Podman*.
$ limactl shell apptainer apptainer run -u -B $HOME:$HOME docker://alpine INFO: Converting OCI blobs to SIF format INFO: Starting build... Copying blob 4abcf2066143 done | Copying config bc4e4f7999 done | Writing manifest to image destination 2024/05/05 12:29:22 info unpack layer: sha256:4abcf20661432fb2d719aaf90656f55c287f8ca915dc1c92ec14ff61e67fbaf8 INFO: Creating SIF file... ERROR : Could not write info to setgroups: Permission denied
* with Fedora you already have the SELinux and the tmp-on-tmpfs breakage to take care of instead.
The text was updated successfully, but these errors were encountered:
Workaround for apptainer (#2320):
root@lima-apptainer:~# # Workaround for https://github.com/apptainer/apptainer/issues/2027 echo "kernel.apparmor_restrict_unprivileged_userns = 0" >/etc/sysctl.d/99-userns.conf sysctl --system
$ limactl shell apptainer apptainer run -u -B $HOME:$HOME docker://alpine INFO: Using cached SIF image Apptainer>
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Description
The setup in the default cidata (for containerd) is now mandatory, since otherwise containers don't work:
https://github.com/lima-vm/lima/blob/v0.21.0/pkg/cidata/cidata.TEMPLATE.d/boot/40-install-containerd.sh#L80
It comes with a default allowance for rootlesskit, but only when installed in
/usr/bin/rootlesskit
And it needs similar setup, for Apptainer to work... Since it doesn't support Ubuntu, it doesn't affect Podman*.
* with Fedora you already have the SELinux and the tmp-on-tmpfs breakage to take care of instead.
The text was updated successfully, but these errors were encountered: