ERR_ADDRESS_INVALID 尝试连接到 docker 容器

ERR_ADDRESS_INVALID trying to connect to docker container

我开始使用 docker 在 win 10 主场上使用 docker-toolbox。我正在试验 scrapy splash 项目 (https://github.com/scrapy-plugins/scrapy-splash)。我已将工具箱安装在闪存驱动器上 (e:)

如果我没理解错的话,我已经使用 docker 工具箱安装了 docker。当我点击 docker quickstart 终端时,我得到了屏幕截图。

我运行:

$ docker-machine start

但是当我:

$ docker run -it scrapinghub/splash
2019-05-25 22:33:53+0000 [-] Log opened.
2019-05-25 22:33:53.053632 [-] Splash version: 3.3.1
2019-05-25 22:33:53.054895 [-] Qt 5.9.1, PyQt 5.9.2, WebKit 602.1, sip 4.19.4, Twisted 18.9.0, Lua 5.2
2019-05-25 22:33:53.055695 [-] Python 3.5.2 (default, Nov 12 2018, 13:43:14) [GCC 5.4.0 20160609]
2019-05-25 22:33:53.056773 [-] Open files limit: 1048576
2019-05-25 22:33:53.057319 [-] Can't bump open files limit
2019-05-25 22:33:53.165435 [-] Xvfb is started: ['Xvfb', ':1788299128', '-screen', '0', '1024x768x24', '-nolisten', 'tcp']
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
2019-05-25 22:33:53.257636 [-] proxy profiles support is enabled, proxy profiles path: /etc/splash/proxy-profiles
2019-05-25 22:33:53.258827 [-] memory cache: enabled, private mode: enabled, js cross-domain access: disabled
2019-05-25 22:33:53.422507 [-] verbosity=1, slots=20, argument_cache_max_entries=500, max-timeout=90.0
2019-05-25 22:33:53.424799 [-] Web UI: enabled, Lua: enabled (sandbox: enabled)
2019-05-25 22:33:53.426021 [-] Site starting on 8050
2019-05-25 22:33:53.426778 [-] Starting factory <twisted.web.server.Site object at 0x7efcd8d8dcc0>
2019-05-25 22:33:53.427649 [-] Server listening on http://0.0.0.0:8050

我试图在

打开浏览器
http://0.0.0.0:8050

但是得到标题中的错误。我做错了什么?

编辑:

我不得不删除之前的容器:

docker container ls
docker rm -f <container-name>

然后它在 :

工作

http://192.168.99.100:8050/

您错过了发布部分。

docker run -it -p 8050:8050 scrapinghub/splash