I am having issue with Docker on Ubuntu 18.04 with docker-ce. While pulling a container:
$ docker pull nginx
or while trying to login
$ docker login
I get the following message:
Error response from daemon: Get https://registry-1.docker.io/v2/: proxyconnect tcp: tls: oversized record received with length 20527
I also purged and reinstalled today with latest version but it didn't help. Does anyone get it resolved?
I had the same issue yesterday. Since I am behind a company proxy, I had to define the http-proxy for the docker daemon in:
The problem was, that I misconfigured the https_proxy, how it is described here. I used https:// in the https_proxy environment variable, which caused this error.
This configuration works for me:
Remember that you have to restart the docker daemon after changing this configuration. You can achieve this by using: