Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3546

Raspberry Pi OS • Docker install on Raspberry OS fails due to iptables dependency

$
0
0
Hi,

I am trying to install Docker on a Raspi 3 Model B running the latest Raspberry OS, (Debian bookworm) using the installation steps from the Docker website (https://docs.docker.com/desktop/setup/i ... ux/debian/). The installation fails due to unmet dependencies, foremost iptables.
It seems that Raspberry OS (and Debian) have deprecated iptables in favor of nftables, and that the iptables package is no longer in the standard repository/ies. Docker requires iptables.
I have searched the Internet, including various forums, for hours over several days but not found any helpful hints so far. Restarting the Pi (which has solved the issue in the only directly relevant forum post that I have found) has not helped in my case..
I think that maybe installing iptables from a legacy repository may be a solution, but I have not found anything in that direction.
Does anybody here have any helpful suggestions for me? Thanks much.

Code:

Linux [i](system name)[/i] 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64

Code:

$ sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-pluginReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneSome packages could not be installed. This may mean that you haverequested an impossible situation or if you are using the unstabledistribution that some required packages have not yet been createdor been moved out of Incoming.The following information may help to resolve the situation:The following packages have unmet dependencies: docker-ce : Depends: iptables but it is not installable             Recommends: docker-ce-rootless-extras but it is not going to be installed             Recommends: git but it is not installable             Recommends: libltdl7 but it is not installable             Recommends: pigz but it is not installableE: Unable to correct problems, you have held broken packages.

Statistics: Posted by hugo_goes_pi — Sat Jun 21, 2025 3:12 pm



Viewing all articles
Browse latest Browse all 3546

Trending Articles