我正在尝试运行 chromedriver Insider docker。但我收到绑定(bind)错误。端口 9515 中没有正在运行的进程。有人可以告诉我出了什么问题
Starting ChromeDriver 2.40.565383 (76257d1ab79276b2d53ee976b2c3e3b9f335cde7) on port 9515
Only local connections are allowed.
[1531829365.521][SEVERE]: bind() returned an error, errno=99: Cannot assign requested address (99)
[1531829365.521][INFO]: listen on IPv6 failed with error ERR_ADDRESS_INVALID
环境
Docker version : 18.03.1-ce, build 9ee9f40
ChromeDriver version : 2.40.565383
BaseImage : debian:jessie
最佳答案
看来我们需要在 docker 中启用 ipv6。将此添加到 docker 配置中为我解决了这个问题。
{ "ipv6" : true }
关于docker - Chromedriver 未在 docker 中启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51381850/