Docker doesn't work

Creating a bug report/issue

Required Information

  • DietPi version | cat /boot/dietpi/.version
G_DIETPI_VERSION_CORE=8
G_DIETPI_VERSION_SUB=8
G_DIETPI_VERSION_RC=1
G_GITBRANCH='master'
G_GITOWNER='MichaIng'
  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
bullseye
  • Kernel version | uname -a
Linux DietPi 4.14.180-s5p6818 #24 SMP Sun Feb 14 22:05:04 CET 2021 aarch64 GNU/Linux
  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
NanoPi M3/T3/Fire3 (aarch64)
  • Power supply used | (EG: 5V 1A RAVpower)
    unsure
  • SD card used | (EG: SanDisk ultra)
    unsure

This should explain everything:

dietpi@DietPi:~$ sudo docker run hello-world
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error setting cgroup config for procHooks process: bpf_prog_query(BPF_CGROUP_DEVICE) failed: invalid argument: unknown.

Your kernel is too old for running docker with the given configuration. Should be similar to this GitHub issues

You could try if following is working RockPi S - Can't start any docker container · Issue #5198 · MichaIng/DietPi · GitHub

1 Like

Fixed. Thanks a lot :+1: