美文网首页
docker下splash渲染框架安装配置

docker下splash渲染框架安装配置

作者: 飞盏 | 来源:发表于2018-10-05 09:29 被阅读0次

    2、按照官方文档 下载、运行启动 splash

    1.Pull the image:

    $ docker pull scrapinghub/splash

    2.Start the container:

    $ docker run -p 5023:5023 -p 8050:8050 -p 8051:8051 scrapinghub/splash

    3.Figure out the ip address of the docker-machine:

    $ docker-machine ip default

    192.168.59.103

    我坑就坑在最后一步,因为网上查的都是liunx下的资料,ip直接用localhost就可以,一直访问不了,其实mac下面,docker splash是会虚拟出一个新的ip的,这个地址需要用上面的命令查出。

    最后,启动成功以后的界面是这样的

    image.png

    相关文章

      网友评论

          本文标题:docker下splash渲染框架安装配置

          本文链接:https://www.haomeiwen.com/subject/fuofaftx.html