Skip to content

Ubuntu LTS Download Issue #24549

@omercngiz

Description

@omercngiz

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

Information is incorrect

Description

In this section:

Install using the apt repository

# Add Docker's official GPG key:
sudo apt update
sudo apt install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc

# Add the repository to Apt sources:
sudo tee /etc/apt/sources.list.d/docker.sources <<EOF
Types: deb
URIs: https://download.docker.com/linux/ubuntu
Suites: $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}")
Components: stable
Signed-By: /etc/apt/keyrings/docker.asc
EOF

sudo apt update

I get this error:

N: The configured 'stable/binary-i386/Packages' file cannot be retrieved because the 'https://download.docker.com/linux/ubuntu noble InRelease' repository does not support the 'i386' architecture.

Location

https://docs.docker.com/engine/install/ubuntu/

Suggestion

Adding 1 line to the end solved it for me:

# Add the repository to Apt sources:
sudo tee /etc/apt/sources.list.d/docker.sources <<EOF
Types: deb
URIs: https://download.docker.com/linux/ubuntu
Suites: $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}")
Components: stable
Architecture: amd64 # This line solved the problem.
Signed-By: /etc/apt/keyrings/docker.asc

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions