docker / docker/docker-install
get-docker.sh: curl: (56) OpenSSL SSL_read: error:0A000126:SSL routines::unexpected eof while reading, errno 0
Open
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 3.2k
- Forks
- 863
- Avg merge
- 3h 15m
- Merged PRs (30d)
- 2
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.
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 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.
Assessment
- Tech stack
- docker, shell
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100