docker / docker/docker-install

Rootless installer doesn't handle kernels without module support

Open
#103 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
3.2k
Forks
863
Avg merge
3h 15m
Merged PRs (30d)
2

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the installer script's iptables support check and compare its module-loaded assumption with the reported Chromebook LXD environment. Verify that iptables works when kernel modules are unavailable; done means rootless installation no longer rejects an environment where iptables is present and usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
devops
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.