Docker installation failed on Ubuntu 22.04

Which Khadas SBC do you use?

VIM3 pro

Which system do you use? Android, Ubuntu, OOWOW or others?

Ubuntu 22.04

Which version of system do you use? Khadas official images, self built images, or others?

Official vim3-ubuntu-22.04-gnome-linux-6.1-fenix-1.4-221229.img.xz

Please describe your issue below:

Installing docker ce following the official docker installation guide, the installation fails at post-installation. dockerd --debug gives the following

failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to create NAT chain DOCKER: iptables failed: iptables -t nat -N DOCKER: iptables v1.8.7 (nf_tables): Could not fetch rule set generation id: Invalid argument

The workaround provided in What is currently the best option for running docker? does fix the problem. But should the problem be already fixed? Or not yet for VIM3?

Can you try to load the modules below and try again?

sudo modprobe nft_chain_nat
sudo modprobe nft_counter
sudo modprobe nft_compat
sudo modprobe nf_tables

I got this for every command modprobe: FATAL: Module nft_counter not found in directory /lib/modules/6.1.0

Hello @Eurus

Okay, we will check this issue.