docker / docker/docker-install
rootless installation failing on Raspberry PI
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 3.2k
- Forks
- 863
- Avg merge
- 3h 15m
- Merged PRs (30d)
- 2
Description
Running
curl -sSL https://get.docker.com/rootless | sh
returns (= fails)
# Installing stable version 23.0.0
# Executing docker rootless install script, commit: 6647403
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 379 100 379 0 0 1162 0 --:--:-- --:--:-- --:--:-- 1166
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 395 100 395 0 0 1362 0 --:--:-- --:--:-- --:--:-- 1362gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
The cause seems to be that uname -m resolves to armv7l which is not available at https://download.docker.com/linux/static/stable/
Note that dpkg --print-architecture, which is used to set up apt-get would resolve to armhf
Environment: Raspberry PI 2 B, Raspberry PI OS light, 32 bit
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 with the rootless installation script invoked by https://get.docker.com/rootless and reproduce the failure on the Raspberry Pi environment described. Trace how it turns uname -m's armv7l into the download URL, then verify that installation completes using the available armhf target.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, shell
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100