cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
740
Views
0
Helpful
1
Replies

1000eyes Docker on Cat 9300

maamann
Level 1
Level 1

Hi 

i deployed a Docker image on a Cat 9300 following this Guide

https://docs.thousandeyes.com/product-documentation/global-vantage-points/enterprise-agents/installing/cisco-devices/installing-enterprise-agents-on-cisco-switches-with-docker

 

but now i get the error Message that the 1000Eyes Docker can not resolve hostnames .

 

For troubleshooting i have done the following already 

Added a ip Address on the Switch in the same vlan where the Docker Container is connected to .

- I can see the MAC Address from the Docker on the Switch-Vlan

- I can ping the default gw from the Switch 

- I can not ping the Docker IP Address.

Switched to the Docker session and checked

-  eth0 is up and running.

- routing entries are correct.

- /etc/resolve.conf have the correct dns entries

- Checked ARP entries ,

           ooops there  i see that the ARP entry is incomplete for the Default GW , but why ?

 

Config snipped 

!
app-hosting appid thousandeyes
app-vnic AppGigabitEthernet trunk
vlan 1 guest-interface 0
guest-ipaddress 192.168.1.2 netmask 255.255.255.0
app-default-gateway 192.168.1.1 guest-interface 0
app-resource docker
run-opts 1 "-e TEAGENT_ACCOUNT_TOKEN=woefj8zup3oijeörofijp3984riuöeoifjöü8rj3p498hpwerifjp39498rzp3ruefhpw8"
run-opts 2 "--hostname CISCO-DOCKER"
prepend-pkg-opts
name-server0 8.8.4.4
name-server1 8.8.8.8

!
interface AppGigabitEthernet1/0/1
switchport trunk allowed vlan 1
switchport mode trunk
spanning-tree portfast trunk
end

 

IOS 17.03.04

Any ideas what could be wrong ?

Regards Markus

1 Reply 1

Alex Stevenson
Cisco Employee
Cisco Employee

Hello @maamann,

I found an external article which states the following:



"The host has a changing IP address (or none if you have no network access). We recommend that you connect to the special DNS name host.docker.internal which resolves to the internal IP address used by the host. This is for development purpose and will not work in a production environment outside of Docker Desktop for Windows / Mac.

You can also reach the gateway using gateway.docker.internal."

 

- How to connect to the Docker host from inside a Docker container?

https://medium.com/@TimvanBaarsen/how-to-connect-to-the-docker-host-from-inside-a-docker-container-112b4c71bc66

I think this may be helpful for you.