Skip to content

Cannot run Docker on Ubuntu 22.04 image #147

@cloudwitch

Description

@cloudwitch

I'm trying to run Docker on an Ubuntu 22.04 on an OG Nano with the commands below.

just build-jetson-rootfs 22.04
touch jetson.img
just build-jetson-image -b jetson-nano -r 200 -l 32

I install Docker using the official Docker install via apt. When I go to start it up (systemctl start docker), I get the error below in journalctl -xeu docker.service:

Dec 08 02:26:34 localhost.localdomain dockerd[4300]: time="2024-12-08T02:26:34.626542350Z" level=info msg="Starting up"
Dec 08 02:26:34 localhost.localdomain dockerd[4300]: time="2024-12-08T02:26:34.728713287Z" level=info msg="[graphdriver] using prior storage driver: overlay2"
Dec 08 02:26:34 localhost.localdomain dockerd[4300]: time="2024-12-08T02:26:34.729298444Z" level=info msg="Loading containers: start."
Dec 08 02:26:34 localhost.localdomain dockerd[4300]: time="2024-12-08T02:26:34.739427767Z" level=info msg="unable to detect if iptables supports xlock: 'iptables --wait -L -n': `iptables v1.8.7 (nf_tables): Could not fetch rule set generation id: Invalid argument`" error="exit status 4"
Dec 08 02:26:34 localhost.localdomain dockerd[4300]: time="2024-12-08T02:26:34.850204746Z" level=info msg="stopping event stream following graceful shutdown" error="<nil>" module=libcontainerd namespace=moby
Dec 08 02:26:34 localhost.localdomain dockerd[4300]: failed to start daemon: Error initializing network controller: error obtaining controller instance: failed to register "bridge" driver: 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
Dec 08 02:26:34 localhost.localdomain dockerd[4300]:  (exit status 4)
Dec 08 02:26:34 localhost.localdomain systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE

I am guessing this has something to do with iptables not liking that the image was built from a container image. But that's just a hunch. I don't see anyone else in a similar boat. I'm also probably the only person in 2024/2025 trying to use Nvidia Docker on this OG Jetson Nano.

Have y'all seen this before?

Note: Not sure if it matters, but I'm building on an x86_64 system running Ubuntu 24.04.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions