Docker installation exception

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

ubuntu22

Which version of system do you use? Please provide the version of the system here:

selbuilding ubuntu22

Please describe your issue below:

I encountered an exception while installing Docker using the official documentation
dockerd[8744]: time="2025-08-01T09:38:32.243398517+08:00" level=info msg="detected 127.0.0.53 nameserver, assuming systemd-resolved, so using resolv.conf: /run/systemd/resolve/reso>
dockerd[8744]: time="2025-08-01T09:38:32.273598089+08:00" level=info msg="Creating a containerd client" address=/run/containerd/containerd.sock timeout=1m0s
 dockerd[8744]: time="2025-08-01T09:38:32.329329358+08:00" level=info msg="[graphdriver] using prior storage driver: overlay2"
 dockerd[8744]: time="2025-08-01T09:38:32.330370390+08:00" level=info msg="Loading containers: start."
dockerd[8744]: time="2025-08-01T09:38:32.369689863+08:00" level=warning msg="Could not load necessary modules for Conntrack: protocol not supported"
 dockerd[8744]: time="2025-08-01T09:38:32.651113653+08:00" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby
 dockerd[8744]: failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to register "bridge" driver: failed to create NAT chain DO>
 dockerd[8744]:  (exit status 1)
 systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support

help help

It’s already up
But report this error:

Aug 01 14:41:53   dockerd[8606]: time="2025-08-01T14:41:53.269142014+08:00" level=info msg="Creating a containerd client" address=/run/containerd/containerd.sock timeout=1m0s
Aug 01 14:41:53   dockerd[8606]: time="2025-08-01T14:41:53.346657444+08:00" level=info msg="Loading containers: start."
Aug 01 14:41:53   dockerd[8606]: time="2025-08-01T14:41:53.389317079+08:00" level=warning msg="Could not load necessary modules for Conntrack: protocol not supported"
Aug 01 14:41:54   dockerd[8606]: time="2025-08-01T14:41:54.183577790+08:00" level=info msg="Loading containers: done."
Aug 01 14:41:54   dockerd[8606]: time="2025-08-01T14:41:54.239987445+08:00" level=info msg="Docker daemon" commit=bea959c containerd-snapshotter=false storage-driver=overlay2 version=28.3.3
Aug 01 14:41:54   dockerd[8606]: time="2025-08-01T14:41:54.240602885+08:00" level=info msg="Initializing buildkit"
Aug 01 14:41:54   dockerd[8606]: time="2025-08-01T14:41:54.363497913+08:00" level=info msg="Completed buildkit initialization"
Aug 01 14:41:54   dockerd[8606]: time="2025-08-01T14:41:54.439839204+08:00" level=info msg="Daemon has completed initialization"
Aug 01 14:41:54   dockerd[8606]: time="2025-08-01T14:41:54.440271179+08:00" level=info msg="API listen on /run/docker.sock"
Among them, this:
Aug 01 14:41:53   dockerd[8606]: time="2025-08-01T14:41:53.389317079+08:00" level=warning msg="Could not load necessary modules for Conntrack: protocol not supported"

Please help, thank you!!!

Hello @Lexus

I just checked on my side with latest fenix code to build Ubuntu 22.04 + 6.1 kernel image and docker works well. Do you use our code?

This is my build configration:

Version: 1.7.4
Current environment:
===========================================

#KHADAS_BOARD=Edge2
#VENDOR=Rockchip
#CHIP=RK3588S
#LINUX=6.1
#UBOOT=2017.09
#DISTRIBUTION=Ubuntu
#DISTRIB_RELEASE=jammy
#DISTRIB_TYPE=server
#DISTRIB_ARCH=arm64
#INSTALL_TYPE=SD-USB

===========================================

This is result of running docker.

khadas@Khadas:~$ 
khadas@Khadas:~$ cat /etc/fenix-release 
# PLEASE DO NOT EDIT THIS FILE
BOARD=Edge2
VENDOR=Rockchip
VERSION=1.7.4
ARCH=arm64
INITRD_ARCH=arm64
IMAGE_VERSION=1.7.4-250801
################ GIT VERSION ################
UBOOT_GIT_VERSION=khadas-edges-u-boot-2017.09-v1.7.4-release
LINUX_GIT_VERSION=khadas-edges-linux-6.1-v1.7.4-release-1-g474a136
FENIX_GIT_VERSION=v1.7.4-18-g6c4feb3
#############################################
khadas@Khadas:~$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.5 LTS"
khadas@Khadas:~$ 
khadas@Khadas:~$ 
khadas@Khadas:~$ sudo docker run hello-world

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (arm64v8)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://hub.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/get-started/

khadas@Khadas:~$ 
khadas@Khadas:~$ uname -a
Linux Khadas 6.1.99 #1.7.4 SMP Fri Aug  1 16:46:20 CST 2025 aarch64 aarch64 aarch64 GNU/Linux
khadas@Khadas:~$ 
khadas@Khadas:~$ 
khadas@Khadas:~$ 

1.Can you execute: ‘systemctl status docker’?
I’ll check the status!
2.I have been working on configuration development and am currently able to run it, At this moment,It’s not convenient to pull the code again now but there is a prompt saying: ‘Among them, this:’

Among them, this:
Aug 01 14:41:53   dockerd[8606]: time="2025-08-01T14:41:53.389317079+08:00" level=warning msg="Could not load necessary modules for Conntrack: protocol not supported"
khadas@Khadas:~$ systemctl status docker
● docker.service - Docker Application Container Engine
     Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2025-08-01 16:47:08 CST; 1h 28min ago
TriggeredBy: ● docker.socket
       Docs: https://docs.docker.com
   Main PID: 1015 (dockerd)
      Tasks: 15
     Memory: 97.1M
        CPU: 842ms
     CGroup: /system.slice/docker.service
             └─1015 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

Aug 01 16:47:07 Khadas dockerd[1015]: time="2025-08-01T16:47:07.931288855+08:00" level=info msg="Loading containers: start."
Aug 01 16:47:08 Khadas dockerd[1015]: time="2025-08-01T16:47:08.747955604+08:00" level=warning msg="Error (Unable to complete atomic operation, key modified) deleting object [endpoint_count 7d6045de3d6cf849eb1d84400817b9c7>
Aug 01 16:47:08 Khadas dockerd[1015]: time="2025-08-01T16:47:08.824056403+08:00" level=info msg="Loading containers: done."
Aug 01 16:47:08 Khadas dockerd[1015]: time="2025-08-01T16:47:08.860023282+08:00" level=info msg="Docker daemon" commit=bea959c containerd-snapshotter=false storage-driver=overlay2 version=28.3.3
Aug 01 16:47:08 Khadas dockerd[1015]: time="2025-08-01T16:47:08.860526990+08:00" level=info msg="Initializing buildkit"
Aug 01 16:47:08 Khadas dockerd[1015]: time="2025-08-01T16:47:08.901588119+08:00" level=info msg="Completed buildkit initialization"
Aug 01 16:47:08 Khadas dockerd[1015]: time="2025-08-01T16:47:08.921580121+08:00" level=info msg="Daemon has completed initialization"
Aug 01 16:47:08 Khadas dockerd[1015]: time="2025-08-01T16:47:08.921769705+08:00" level=info msg="API listen on /run/docker.sock"
Aug 01 16:47:08 Khadas systemd[1]: Started Docker Application Container Engine.
Aug 01 18:15:18 Khadas dockerd[1015]: time="2025-08-01T18:15:18.760304141+08:00" level=info msg="ignoring event" container=e56f47802d67adecb98c8a4b15fc1f7c1b431080b860301b49c0bd932196fce2 module=libcontainerd namespace=mob>
1 Like
time="2025-08-01T14:41:53.389317079+08:00" level=warning msg="Could not load necessary modules for Conntrack: protocol not supported"

By comparison, I have already solved this problem!

but

Aug 01 16:47:08 Khadas dockerd[1015]: time="2025-08-01T16:47:08.747955604+08:00" level=warning msg="Error (Unable to complete atomic operation, key modified) deleting object [endpoint_count 7d6045de3d6cf849eb1d84400817b9c7>

How to solve this error message??