Good afternoon I’m trying to connect to a docker hub from an RHEV server and I find the following error, which failed to deliver a solution:
Daemon error response: Get https://registry-1.docker.io/v2/: net / http: request canceled while waiting for connection (Client.Timeout exceeded while waiting for headers)
I am configuring the proxy environment variables and so on, but when I run a docker info I do not see proxy information:
But as you can see I am configuring the environment variables for proxy docker:
[soportem@tcanp021 ~]$ sudo cat /etc/systemd/system/docker.service.d/http-proxy.conf
Environment=“HTTP_PROXY=http://e10697:xxxxxx@10.164.100.36:8080/”
Environment=“HTTPS_PROXY=http://e10697:xxxxxx@10.164.100.36:8080/”
[soportem@tcanp021 ~]$ env | grep -i proxy
http_proxy=http://e10697:xxxxxx@10.164.100.36:8080
https_proxy=http://e10697:xxxxxx@10.164.100.36:8080
And I can curl google, with which I have access to the internet:
[> soportem@tcanp021 ~]$ curl www.google.com
<!doctype html>Google#gbar,#guser{font-size:13px;padding-top:1px !important;}#gbar{height:22px}#guser{padding-bottom:7px !important;text-align:right}.gbh,.gbd{border-top:1px solid #c9d7f1;font-size:1px}.gbh{height:0;position:absolute;top:24px;width:100%}@media all{.gb1{height:22px;margin-right:.5em;vertical-align:top}#gbar{float:left}}a.gb1,a.gb4{text-decoration:underline !important}a.gb1,a.gb4{color:#00c !important}.gbi .gb4{color:#dd8e27 !important}.gbf .gb4{color:#900 !important}
body,td,a,p,.h{font-family:arial,sans-serif}body{margin:0;overflow-y:scroll}#gog{padding:3px 8px 0}td{line-height:.8em}.gac_m td{line-height:17px}form{margin-bottom:20px}.h{color:#36c}.q{color:#00c}.ts td{padding:0}.ts{border-collapse:collapse}em{font-weight:bold;font-style:normal}.lst{height:25px;width:496px}.gsfi,.lst{font:18px arial,sans-serif}.gsfs{font:17px arial,sans-serif}.ds{display:inline-box;display:inline-block;margin:3px 0 4px;margin-left:4px}input{font-family:inherit}body{background:#fff;color:#000}a{color:#11c;text-decoration:none}a:hover,a:active{text-decoration:underline}.fl a{color:#36c}a:visited{color:#551a8b}.sblc{padding-top:5px}.sblc a{display:block;margin:2px 0;margin-left:13px;font-size:11px}.lsbb{background:#eee;border:solid 1px;border-color:#ccc #999 #999 #ccc;height:30px}.lsbb{display:block}.ftl,#fll a{display:inline-block;margin:0 12px}.lsb{background:url(/images/nav_logo229.png) 0 -261px repeat-x;border:none;color:#000;cursor:pointer;height:30px;margin:0;outline:0;font:15px arial,sans-serif;vertical-align:top}.lsb:active{background:#ccc}.lst:focus{outline:none}(function(){var src=‘/images/nav_logo229.png’;var iesg=false;document.body.onload = function(){window.n && window.n();if (document.images){new Image().src=src;}
if (!iesg){document.f&&document.f.q.focus();document.gbqf&&document.gbqf.q.focus();}
What could be happening, this problem makes me crazy