docker-install icon indicating copy to clipboard operation
docker-install copied to clipboard

Rootless installer doesn't handle kernels without module support

Open mhofman opened this issue 5 years ago • 3 comments

I'm trying to install docker rootless on a Chromebook.

The Linux environment runs inside an lxd container, itself inside a VM running a hardened kernel without module support. See https://chromium.googlesource.com/chromiumos/docs/+/master/containers_and_vms.md for more info.

The installer script checks for iptables support by checking if the module is loaded. This doesn't work on chromebooks because modules aren't available. However iptables is there and works (at least when run as root in the lxd container).

PS: regular docker runs perfectly fine, so I'll keep using that for the time being.

mhofman avatar Mar 01 '19 00:03 mhofman

Could you make a PR with extra detection for your system, or just override the validation for your system.

tonistiigi avatar Mar 01 '19 19:03 tonistiigi

I was in this situation and found the --skip-iptables option which is all that's needed to complete setup and have rootless working in Chrome OS.

halfninja avatar Feb 12 '24 18:02 halfninja