Good morning I am starting with a docker on a RED HAT 8 server, but I am having problems to make the docker run hello work, I get the following error:
Unable to find image ‘hello-world:latest’ locally
docker: Error response from daemon: Get https://registry-1.docker.io/v2/: Proxy Authentication Required.
See ‘docker run --help’.
Same when I’m going to login
[root@srvdevrma1 ~]# docker login
Login with your Docker ID to push and pull images from Docker Hub. If you don’t have a Docker ID, head over to https://hub.docker.com to create one.
Username: cesarjv
Password:
Error response from daemon: Get https://registry-1.docker.io/v2/: Proxy Authentication Required
[root@srvdevrma1 ~]#
Configure my proxy:
[root@srvdevrma1 ~]# echo $http_proxy
http://E10697:xxxxxx++@10.162.64.36:8080/
[root@srvdevrma1 ~]# echo $https_proxy
http://E10697:xxxxxx++@10.162.64.36:8080/
[root@srvdevrma1 ~]# cat /etc/apt/apt.conf.d/proxy.conf
Acquire::http::Proxy “http://E10697:xxxxxx++@10.162.64.36:8080//”;
Acquire::https::Proxy “http://E10697:xxxxxx++@10.162.64.36:8080//”;
[root@srvdevrma1 ~]# cat /etc/systemd/system/docker.service.d/http-proxy.conf
[Service]
Environment=“HTTP_PROXY=10.162.64.36:8080”
Environment=“HTTPS_PROXY=10.162.64.36:8080”
Environment=“NO_PROXY=localhost,127.0.0.1”
Where can I be failing?