rabbah commented on issue #345: container cannot resolve 
http://host.docker.internal
URL: 
https://github.com/apache/incubator-openwhisk-apigateway/issues/345#issuecomment-507331039
 
 
   Per @ddragosd's suggestion I checked the resolver.conf content.
   
   ```
   bash-4.4# cat  "/etc/api-gateway/conf.d/includes/resolvers.conf"
   resolver 192.168.65.1;
   
   bash-4.4# cat /etc/resolv.conf 
   # This file is included on the metadata iso
   nameserver 192.168.65.1
   domain home
   ```
   
   ```
   nslookup host.docker.internal 192.168.65.1
   Server:    192.168.65.1
   Address 1: 192.168.65.1
   
   Name:      host.docker.internal
   Address 1: 192.168.65.2
   ```
   
   ```
   bash-4.4# curl 192.168.65.2:3233/api/v1
   {"api_info":{"build":"2019-06-29T09:38:55-0400","...
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to