Error response from daemon, failed to create task for containers on Khadas VIM4

The last lines of the docker info output show that neither your os, nor your docker installation is vanilla:

  • You must have either created a custom /etc/docker/daemon.json, or modified the systemd unit.
  • The default Ubuntu 22.04 kernel is a 5.15.x kernel by default, yours is a 5.4.x kernel.

Since you didn’t share the client details from the docker info output., we don’t know if cliet and server version are aligned.

Even though kernel 5.4. should already come with cgroup v2 support, I would recommend reverting to the default 5.15.x kernel