Skip to content

Docker: run modprobe only when overlay/bridge/br_netfilter are not lo…#3562

Merged
FabianKramm merged 1 commit intoloft-sh:mainfrom
saiyam1814:main
Feb 6, 2026
Merged

Docker: run modprobe only when overlay/bridge/br_netfilter are not lo…#3562
FabianKramm merged 1 commit intoloft-sh:mainfrom
saiyam1814:main

Conversation

@saiyam1814
Copy link
Contributor

…aded

/kind bugfix

solves - loft-sh/vind#7

description:
run modprobe only when kernel modules are missing
Check /proc/modules (no root) before running modprobe for overlay,
bridge, and br_netfilter. Only attempt to load missing modules and
only warn on failure, so users with modules already loaded don't see
the sudo warning.

@saiyam1814 saiyam1814 requested a review from a team as a code owner February 6, 2026 09:37
@FabianKramm FabianKramm merged commit 29cc6e3 into loft-sh:main Feb 6, 2026
36 checks passed
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