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

Raspberry Pi OS • Install docker error

$
0
0
please help me!
iptables dpkg Status: install ok half-configured

hupeng@raspberrypi :/var/lib/dpkg $sudo apt-get install docker ce docker ce cli containerd. io docker build x plugin docker composite plugin

Reading package list complete

Analyzing dependency tree for software package complete

Reading status information Complete

Docker buildx plugin is already the latest version (0.11.2-1~debian.12~bookworm).

Docker composite plugin is already the latest version (2.21.0-1~debian.12~bookworm).

The following software will be installed simultaneously:

Iptables

Suggested installation:

Cgroupfs mount | cgroup lite

The following [new] software packages will be installed:

Containerd.io docker ce docker ce cli iptables

0 software packages have been upgraded, 4 new packages have been installed, 0 packages need to be uninstalled, and 0 packages have not been upgraded.

We need to download an archive of 47.2 MB/47.6 MB.

After decompression, it will consume 202 MB of additional space.

Do you wish to continue with the execution? [Y/n] y

Obtain: 1 https://download.docker.com/linux/debian Bookworm/table arm64 containerd.io arm64 1.6.27-1 [21.3 MB]

Obtain: 2 https://download.docker.com/linux/debian Bookworm/table arm64 Docker ce-cli arm64 5:24.0.7-1~debian.12~Bookworm [12.0 MB]

Obtain: 3 https://download.docker.com/linux/debian Bookworm/table arm64 Docker ce arm64 5:24.0.7-1~debian.12~Bookworm [13.9 MB]

47.2 MB downloaded, took 6 seconds (7292 kB/s)

Selecting unselected package iptables.

(Reading database... The system currently has 220264 files and directories installed.)

Preparing to decompress/ Iptables_ 1.8.2-4_ Arm64. deb

Extracting iptables (1.8.2-4)

Preparing to decompress/ Containerd.io_ 1.6.27-1_ Arm64. deb

Decompressing containerd. io (1.6.27-1)

Selecting unselected package docker ce cli.

Preparing to decompress/ Docker ce cli_ 5% 3a24.0.7-1~debian.12~bookworm_ Arm64. deb

Decompressing Docker Ce cli (5:24.0.7-1~debian.12~bookworm)

Preparing to decompress/ Docker ce_ 5% 3a24.0.7-1~debian.12~bookworm_ Arm64. deb

Decompressing Docker ce (5:24.0.7-1~debian.12~bookworm)

Setting up iptables (1.8.2-4)

Update alternatives: Use/usr/sbin/iptables legacy to provide/usr/sbin/iptables (iptables) in automatic mode

Update alternatives: Error: Unable to get status for file/usr/sbin/iptables: Too many layers of symbolic connections

Dpkg: Error processing package iptables (-- configure):

The installed iptables package post installation script subprocess returned error status 2

DPkg: Dependency issues prevent Docker ce configuration work from continuing:

Docker ce depends on iptables; However,:

The software package iptables has not been configured yet.



Dpkg: Error processing package docker ce (-- configure):

Dependency issue - not yet configured

Setting containerd. io (1.6.27-1)

Setting Docker Ce cli (5:24.0.7-1~debian. 12~bookworm)

Processing trigger for man db (2.11.2-2)

An error occurred during processing:

Iptables

Docker ce

E: Sub process/usr/bin/dpkg returned an error code (1)

Statistics: Posted by hp2008 — Fri Jan 19, 2024 4:07 am — Replies 0 — Views 69



Viewing all articles
Browse latest Browse all 3456

Trending Articles