I tried and tested.
but It did not work with an error. (Attached below)
-> insmod: ERROR: could not insert module /usr/src/radioberry/radioberry.ko: Operation not permitted
I think it's related to the 10th command in IMAGE LAYERS.
'RUN /bin/sh -c echo "#!/bin/bash\ninsmod /usr/src/radioberry/radioberry.ko\n" > /usr/local/bin/load_module.sh && chmod +x /usr/local/bin/load_module.sh # buildkit'
Do you have any idea what the problem is?
Tnx
----------
pi@raspi4:/etc $ cat os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="
https://www.debian.org/"
SUPPORT_URL="
https://www.debian.org/support"
BUG_REPORT_URL="
https://bugs.debian.org/"
pi@raspi4:/etc $ uname -a
Linux raspi4 6.6.28+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.28-1+rpt1 (2024-04-22) aarch64 GNU/Linux
pi@raspi4:~ $ docker -v
Docker version 26.1.3, build b72abbb
pi@raspi4:~ $ docker compose version
Docker Compose version v2.27.0
pi@raspi4:~ $ sudo docker run --privileged pa3gsb/radioberry_kernel:4.01
Unable to find image 'pa3gsb/radioberry_kernel:4.01' locally
4.01: Pulling from pa3gsb/radioberry_kernel
91e301773f03: Pull complete
c4d829fb1d29: Pull complete
235a5572537d: Pull complete
07c46fcc78a0: Pull complete
940641bf6e25: Pull complete
8ef0fe97ac2d: Pull complete
4f4fb700ef54: Pull complete
fcc051850d30: Pull complete
e3fc5281da1c: Pull complete
Digest: sha256:7393003963d7732d01176f69319756a4eceebe716740811f051974d05ca60491
Status: Downloaded newer image for pa3gsb/radioberry_kernel:4.01
pi@raspi4:~ $ docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
478afc919002: Pull complete
Digest: sha256:266b191e926f65542fa8daaec01a192c4d292bff79426f47300a046e1bc576fd
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
This message shows that your installation appears to be working correctly.
:
:
pi@raspi4:~ $ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
pa3gsb/radioberry_kernel 4.01 9af9fa823f68 2 days ago 792MB
hello-world latest ee301c921b8a 12 months ago 9.14kB
pi@raspi4:~ $ sudo docker run -it 9af9fa823f68
insmod: ERROR: could not insert module /usr/src/radioberry/radioberry.ko: Operation not permitted
//