Skip to content

get-docker.sh: curl: (56) OpenSSL SSL_read: error:0A000126:SSL routines::unexpected eof while reading, errno 0 #478

@maburlik

Description

@maburlik

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.

Metadata

Metadata

Assignees

No one assigned

    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