This is a collection of Piraeus container images containing the DRBD kernel source code that can be used to compile DRBD kernel modules from source and load them into the host kernel.
Note that for this to work, the kernel headers are bind-mounted from the host to the container. Therefore, you
need to install the according headers on the host system (e.g., yum install kernel-devel
).
LINBIT provides containers that can directly install pre-built kernel modules on the host without compiling/the requirement to have kernel headers installed.
docker run -it --rm --privileged \
-v /lib/modules:/lib/modules:ro -v /usr/src:/usr/src:ro \
piraeusdatastore/drbd9-centos7:latest
We provide loader images for Ubuntu Bionic, and RHEL/CentOS 7/8.
This feature is available since version 9.0.20. One has to mark the bind mounted /lib/modules
directory writable (by removing the ':ro'), and set the environment variable "LB_INSTALL" to "yes". For
RHEL/Centos this looks like this:
docker run -it --rm --privileged \
-v /lib/modules:/lib/modules -v /usr/src:/usr/src:ro \
-e "LB_INSTALL=yes" \
piraeusdatastore/drbd9-centos7:latest
The containers we provide in the Piraeus project are Debian based and packages get installed from a PPA. These are maintained at a best effort basis, but make sure to understand the differences between these packages and the ones provided by LINBIT for its customers.
Container used for module loading are based on Centos/Ubuntu.
Additionally, container images provided by LINBIT as commercal offer on drbd.io, are based on RHEL/UBI images and are for example OpenShift certified.
Let github do it for you! See our github workflow!
or
make update NOCACHE=true
make upload REGISTRY='quay.io/piraeusdatastore'