【发布时间】:2020-12-27 19:16:51
【问题描述】:
我正在尝试运行哨兵本地版本 (https://github.com/getsentry/onpremise)
日志显示
relay_1 | 2020-09-09T10:45:13Z [relay_server::actors::upstream] ERROR: authentication encountered error: could not send request to upstream
relay_1 | caused by: Failed to connect to host: Failed resolving hostname: no record found for name: web.router703710.com. type: AAAA class: IN
relay_1 | caused by: Failed resolving hostname: no record found for name: web.router703710.com. type: AAAA class: IN
relay_1 | caused by: Failed resolving hostname: no record found for name: web.router703710.com. type: AAAA class: IN
router703710.com是我们的cisco路由器分配的dns..
虽然我们不以任何方式使用它。
我只是看到cisco在路由器的设置页面中有那个dns设置。
从运行 docker 的主机,我无法连接到 router703710.com 或 www.router703710.com。
那么我如何告诉 docker 不要使用 dns 和其他一些实际工作的 dns?
我能想到的只有以下设置,不确定它会有所作为
network_mode: host
dns:
- 192.168.1.1
docker 镜像好像是https://hub.docker.com/r/getsentry/relay/ 但我不知道如何查看实际的dockerfile
【问题讨论】: