Raboo / bottlerocket-modprobe

Container for bottlerocket that can execute modprobe (ipvs)

Home Page:https://github.com/bottlerocket-os/bottlerocket/issues/2409#issuecomment-1443369565

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bottlerocket-modprobe

Bootstrap container for bottlerocket-os (v1.13 or later) that can execute modprobe against fixed set of modules (bottlerocket-os/bottlerocket#2409 (comment)).

I guess this is a temporary work-around until someone adds support for loading kernel modules directly from the user-data context or something.

All modules are listed here https://github.com/Raboo/bottlerocket-modprobe/pkgs/container/bottlerocket-modprobe. The image tags specifies which module it loads.

Example:
Use this as user-data to load the ip_vs_lc module.

[settings.bootstrap-containers.bootstrap]
source = "ghcr.io/raboo/bottlerocket-modprobe:ip_vs_lc"
mode = "always"
essential = true

Note that I haven't tested this yet since bottlerocket-os v1.13 hasn't been released yet. Also I have tried to build multi-arch builds for amd64, arm64 and arm but I haven't tested that part either.

About

Container for bottlerocket that can execute modprobe (ipvs)

https://github.com/bottlerocket-os/bottlerocket/issues/2409#issuecomment-1443369565

License:Apache License 2.0