Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error response from daemon: Get https://azure/v2/: dial tcp: lookup azure: no such host

I am trying to pull docker image from docker hub to azure following this docs on docker https://docs.docker.com/cloud/aci-integration/.

when I enter the command:

 docker login azure

I get the error:

Error response from daemon: Get https://azure/v2/: dial tcp: lookup azure: no such host

I am not behind any vpn or proxy. I have tried some of the solutions mentioned in other threads like adding 8.8.8.8 & 8.8.8.4 in my resolv.conf and restarting docker daemon. But those solutions did not work.

like image 938
anoncgain Avatar asked Nov 14 '22 21:11

anoncgain


1 Answers

I am on Ubuntu 20.04 and I had the same problem. I fixed it by uninstalling the docker-compose package which ubuntu provided and using the install script as documented here. The Ubuntu package doesn't seem to have the Azure integration features built-in.

like image 102
guibar Avatar answered Apr 28 '23 14:04

guibar