Docker Community Forums

Share and learn in the Docker community.

Unable to find image 'hello-world:latest' locally docker: Error response from daemon: Get https://registry-1.docker.io/v2/: remote error: tls: handshake failure

Nach der Installation will ich einen Test durchführen

$sudo docker run hello-world

Aber es scheint diese Fehler:

Bitte um eine Lösung.
VG
Hozan

Hi,
Are you behind a corporate proxy server?

Yes , i am
And the proxy konfiguration is done in the apt.conf file
Acquire::http::proxy “http://proxy-IP:port/”;

You need to setup the proxy for the Docker daemon also.

So i tried that and you can see that the verifying of proxy setup is done correctly but i have the same problem by trying to run hello-world:

$ systemctl show --property=Environment docker

Environment=HTTP_PROXY=http://xxxx:xx/

$ sudo docker run hello-world

Unable to find image ‘hello-world:latest’ locally
docker: Error response from daemon: Get https://registry-1.docker.io/v2/: remote error: tls: hand shake failure.
See ‘docker run --help’.

Hi.

Maybe you also need to set a HTTPS_PROXY?

tls: hand shake failure.

I did this step.

[Service]
Environment="HTTPS_PROXY=https://proxy.example.com:443/"

and this step too:

[Service]    
Environment="HTTP_PROXY=http://proxy.example.com:80/" "NO_PROXY=localhost,127.0.0.1,docker-registry.example.com,.corp"

But the problem is still there.

Hi

Does your proxy require a userid and password?

Hi
No it dosent require a userid and password

i guess there is something wrong here

apt-get update

Fehl:5 https://download.docker.com/linux/ubuntu bionic Release
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 54.230.93.110 443]
E: Das Depot »https://download.docker.com/linux/ubuntu bionic Release« enthält keine Release-Datei.
N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8).