Problems with Docker version 28.0.1 on Jetson Orin NX

After everything else this fixed it for me, thanks.
I get these are dev kits but man it’s been nothing but a pain using this Orin.

Docker 28.0.2 is expected to be released next week.
This release will fix the problem.

Adding

[Service]
Environment="DOCKER_INSECURE_NO_IPTABLES_RAW=1"

to docker.service unit file will make it work even with kernels that do not have CONFIG_IP_NF_RAW.

There is one thing to note :

Warning: This is not recommended for production environments as it reduces security by allowing other hosts on the local network to route to ports published to host addresses, even when they are published to 127.0.0.1. This option bypasses some of the security hardening introduced in Docker Engine 28.0.0.

i am till facing the same issue in Docker version 28.0.2

Hi,

Could you downgrade the docker to v27.5.1 to avoid this issue?

$ sudo apt-get install -y docker-ce=5:27.5* docker-ce-cli=5:27.5* --allow-downgrades

We have enabled the kernel in our internal branch so the module will exist by default in our future release.

Thanks.

+Satish Rathod

Please check and revert.

Regards,
Yash

Hello,

We have tried this on our AGX orin with no success, containerd failed to start using systemctl.

[1]: Starting Docker Socket for the API...
Mar 26 02:23:04 tegra-ubuntu systemd[1]: Listening on Docker Socket for the API.
Mar 26 02:23:04 tegra-ubuntu systemd[1]: docker.service: Start request repeated too quickly.
Mar 26 02:23:04 tegra-ubuntu systemd[1]: docker.service: Failed with result 'exit-code'.
Mar 26 02:23:04 tegra-ubuntu systemd[1]: Failed to start Docker Application Container Engine.
Mar 26 02:23:04 tegra-ubuntu systemd[1]: docker.socket: Failed with result 'service-start-limit-hit'.

I’m going to try building a kernel in the meantime

Hi, @crobisaur

Which docker version do you use?
For the latest docker v28.0.2, you will need to enable the below config:

CONFIG_IP_NF_RAW=m

If downgrading docker is an option for you, docker v27.5.1 should work normally without updating the kernel.

$ sudo apt-get install -y docker-ce=5:27.5* docker-ce-cli=5:27.5* --allow-downgrades

Thanks.

Found a solution,

We found that containerd and docker.io from the ubuntu repositories are compatible with eachother so long that we just disable iptables in the docker daemon.json file
"iptables": false

After that docker worked for our use case. If you still need iptables for your setup then this might not be as helpful.

cheers.

I’m having the same issue as everyone previously described. As of April 2, Docker version 28.0.4 does not solve the issue.

Apr 02 09:44:55 ubuntu dockerd[10634]: time="2025-04-02T09:44:55.436052112-06:00" level=error msg="Handler for POST /v1.48/containers/be7bf9599ffd3a4b6d368c74b5f2916b21017f9351c2efd6ac52712ad1b349d5/start returned error: failed to set up container networking: driver failed programming external connectivity on endpoint push-to-talk (6dcc3523466e7495750bce771d748da297e51dac2670fe115bcf14550667911d): Unable to enable DIRECT ACCESS FILTERING - DROP rule: (iptables failed: iptables --wait -t raw -A PREROUTING -p tcp -d 172.18.0.2 --dport 5235 ! -i br-fb442e96f9f5 -j DROP: iptables v1.8.7 (legacy): can't initialize iptables table raw: Table does not exist (do you need to insmod?)\nPerhaps iptables or your kernel needs to be upgraded.\n (exit status 3))" spanID=23f4bab18d020a7e traceID=94dc82cf7a3a4536e6dc354b9d895612

Client: Docker Engine - Community
 Version:    28.0.4
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.22.0
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.34.0
    Path:     /usr/libexec/docker/cli-plugins/docker-compose

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 6
 Server Version: 28.0.4
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 05044ec0a9a75232cad458027ca83437aae3f4da
 runc version: v1.2.5-0-g59923ef
 init version: de40ad0
 Security Options:
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 5.15.148-tegra
 Operating System: Ubuntu 22.04.5 LTS
 OSType: linux
 Architecture: aarch64
 CPUs: 8
 Total Memory: 61.37GiB
 Name: ubuntu
 ID: cf97503d-95d0-4b08-9ea8-72ccfd46aec0
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  ::1/128
  127.0.0.0/8
 Live Restore Enabled: false

Downgrade to 27.5.1 solved for me for JetPack 6.2

Hi, @tbrinks

Please try to downgrade the docker to v27 or update the kernel.

Thanks.