gpt4 book ai didi

docker - 如何在 aerokube selenoid docker 镜像上启动文件服务器

转载 作者:行者123 更新时间:2023-12-02 20:05:21 27 4
gpt4 key购买 nike

我已按照帖子 https://medium.com/@aandryashin/selenium-done-in-60-seconds-176796f8bdc7 中的说明进行操作用 Selenoid 说明。

我能够启动并运行 docker 镜像并进行连接。

2018/05/07 06:24:15 Loading configuration files...
2018/05/07 06:24:15 Loaded configuration from [/etc/selenoid/browsers.json]
2018/05/07 06:24:15 Using default containers log configuration because of: read error: open config/container-logs.json: no such file or directory
2018/05/07 06:24:15 Timezone: Local
2018/05/07 06:24:15 Listening on :4444
2018/05/07 08:45:12 [NEW_REQUEST]
2018/05/07 08:45:12 [NEW_REQUEST_ACCEPTED]
2018/05/07 08:45:12 Locating the service for chrome
2018/05/07 08:45:12 Using default version: 66.0
2018/05/07 08:45:12 Using docker service for chrome 66.0
2018/05/07 08:45:12 Creating Docker container selenoid/chrome:66.0 ...
2018/05/07 08:45:12 [STARTING_CONTAINER]
2018/05/07 08:45:13 [CONTAINER_STARTED] [a11420c1b6539c0121002b3e8318b726f58f8056aa23e04c011330c476963550] [807.78967ms]
2018/05/07 08:45:14 [SERVICE_STARTED] [a11420c1b6539c0121002b3e8318b726f58f8056aa23e04c011330c476963550] [907.160923ms]
2018/05/07 08:45:14 proxying requests to: http://172.17.0.3:4444/
2018/05/07 08:45:14 [SESSION_ATTEMPTED] [http://172.17.0.3:4444/] [1]
2018/05/07 08:45:18 [SESSION_CREATED] [b71385f73d6cc48febcb357abe3246cf] [http://172.17.0.3:4444/]
2018/05/07 08:45:36 [SESSION_DELETED] [b71385f73d6cc48febcb357abe3246cf]
2018/05/07 08:45:36 [REMOVE_CONTAINER] [a11420c1b6539c0121002b3e8318b726f58f8056aa23e04c011330c476963550]
2018/05/07 08:45:36 [CONTAINER_REMOVED] [a11420c1b6539c0121002b3e8318b726f58f8056aa23e04c011330c476963550]
2018/05/07 08:46:07 [NEW_REQUEST]
2018/05/07 08:46:07 [NEW_REQUEST_ACCEPTED]
2018/05/07 08:46:07 Locating the service for chrome
2018/05/07 08:46:07 Using default version: 66.0
2018/05/07 08:46:07 Using docker service for chrome 66.0
2018/05/07 08:46:07 Creating Docker container selenoid/chrome:66.0 ...
2018/05/07 08:46:07 [STARTING_CONTAINER]
2018/05/07 08:46:07 [CONTAINER_STARTED] [d6f151bcad639271922fe65182b0e09fd1a4fbfdcc0b8b4374da02f2f5b1d69d] [410.578697ms]
2018/05/07 08:46:08 [SERVICE_STARTED] [d6f151bcad639271922fe65182b0e09fd1a4fbfdcc0b8b4374da02f2f5b1d69d] [142.662491ms]
2018/05/07 08:46:08 proxying requests to: http://172.17.0.3:4444/
2018/05/07 08:46:08 [SESSION_ATTEMPTED] [http://172.17.0.3:4444/] [1]
2018/

现在我想使用文件 download feature .
我的问题是如何在端口 8080 上启动文件服务器,因为在运行 Docker 时我没有看到任何配置选项?我是否必须创建一个具有 FileServer 支持的新 Docker 镜像?

最佳答案

它应该自动启动。然而,现在只有最后两个版本的所有浏览器图像被更新以包含所需的二进制文件(例如 selenoid/chrome:65.0selenoid/chrome:66.0 )。这将在接下来的几周内得到解决——当其余的图像被重建时。

关于docker - 如何在 aerokube selenoid docker 镜像上启动文件服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50211914/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com