docker / docker/docker-install
Can't install on Linux Mint 22.3 through extrepo or get.docker.com script
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 3.2k
- Forks
- 863
- Avg merge
- 3h 15m
- Merged PRs (30d)
- 2
Description
A while ago I noticed that even though Linux Mint is based on Ubuntu and Docker has an Ubuntu specific source, the install script sets up the Debian source (still true today, dry-run output:
# Executing docker install script, commit: 42dcae692436f34526524ed46d3b32885c9355f5
apt-get -qq update >/dev/null
DEBIAN_FRONTEND=noninteractive apt-get -y -qq install ca-certificates curl >/dev/null
install -m 0755 -d /etc/apt/keyrings
curl -fsSL "https://download.docker.com/linux/debian/gpg" -o /etc/apt/keyrings/docker.asc
chmod a+r /etc/apt/keyrings/docker.asc
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian trixie stable" > /etc/apt/sources.list.d/docker.list
apt-get -qq update >/dev/null
DEBIAN_FRONTEND=noninteractive apt-get -y -qq install docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-ce-rootless-extras docker-buildx-plugin docker-model-plugin >/dev/null
systemctl enable --now docker.service 2>/dev/null
extrepo adds this same source, since it's a tool made for Debian
Currently Debian Trixie has libseccomp2 2.6.0 while Ubuntu Noble has 2.5.5 and when trying to install Docker related packages, you get the following error on Linux Mint 22.4 (and presumably Ubuntu 24.04): containerd.io : Depends: libseccomp2 (>= 2.6.0) but 2.5.5-1ubuntu3.1 is to be installed
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the get.docker.com script in dry-run mode on Linux Mint or Ubuntu and inspect how it selects the package source. Done means Docker installation no longer selects an incompatible Debian source for these systems and avoids the reported libseccomp2 dependency failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, shell
- Domain
- devops, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100