get-docker.sh: curl: (56) OpenSSL SSL_read: error:0A000126:SSL routines::unexpected eof while reading, errno 0
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- docker, shell
- Domain
- devops, infrastructure
Research direction
Start with get-docker.sh and the curl command that downloads https://download.docker.com/linux/ubuntu/gpg. Investigate the reported intermittent OpenSSL unexpected EOF during installation and determine a reproducible failure case and an appropriate way to consider the installation complete.
Written by the indexing model from the issue text.
Description
Hello,
I run the get-docker.sh script quite often and occasionally hit this issue:
2025/03/17 09:09:27 Downloading get-docker.sh.
2025-03-17 09:09:28 URL:https://get.docker.com/ [22592/22592] -> "/tmp/get-docker.sh" [1]
2025/03/17 09:09:28 Installing docker.
# Executing docker install script, commit: 4c94a56999e10efcf48c5b8e3f6afea464f9108e
+ sh -c apt-get -qq update >/dev/null
+ sh -c DEBIAN_FRONTEND=noninteractive apt-get -y -qq install ca-certificates curl >/dev/null
+ sh -c install -m 0755 -d /etc/apt/keyrings
+ sh -c curl -fsSL "https://download.docker.com/linux/ubuntu/gpg" -o /etc/apt/keyrings/docker.asc
curl: (56) OpenSSL SSL_read: error:0A000126:SSL routines::unexpected eof while reading, errno 0
Error@118: Installing docker via get-docker.sh failed.
Cloud-init v. 24.4-0ubuntu1~22.04.1 finished at Mon, 17 Mar 2025 09:09:42 +0000. Datasource DataSourceNoCloud [seed=/dev/vdd]. Up 126.09 seconds
Do you have any recommendations?
Thanks.
- Dominant language
- Shell
- Stars
- 3.2k
- Forks
- 863
- Avg merge
- 3h 15m
- Merged PRs (30d)
- 2
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
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.
More from docker/docker-install
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
docker/docker-install#575 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
docker/docker-install#559 · 4 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
docker/docker-install#554 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
docker/docker-install#548 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
docker/docker-install#540 ·
All issues in docker/docker-install
Similar issues
-
area:lint-tooling bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
InauguralSystems/EigenScript#1340 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
package-update
Difficulty 1/5 Under an hour Newbie friendliness 78/100
oSoWoSo/vOid_Community_repOsitory#195 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
obra/superpowers#2385 ·
Maintainers usually reply within 2 days
-
follow-up
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
yschimke/homeassistant-remotecompose#680 ·
Maintainers usually reply within 1 day