
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
This image is only intended for development purposes! Runs a Selenium Grid Node with a VNC Server to allow you to visually see the browser being automated. Since it runs additional services to support this it is too heavy weight for usage within a Selenium Grid cluster.
https://github.com/SeleniumHQ/docker-selenium/blob/master/NodeChromeDebug/Dockerfile
First, you will need a Selenium Grid Hub that the Node will connect to.
$ docker run -d -P --name selenium-hub selenium/hub
Once the hub is up and running will want to launch nodes that can run tests.
$ docker run -d -P --link selenium-hub:hub selenium/node-chrome-debug
You can acquire the port that the VNC server is exposed to by running:
bash$ docker port <container-name|container-id> 5900 #=> 0.0.0.0:49338
Using RealVNC you can look in view only mode, to avoid accidentally messing up your tests, utilizing our https://github.com/SeleniumHQ/docker-selenium/blob/master/bin/vncview.
bash$ ./bin/vncview 127.0.0.1:49338
If you are running Boot2Docker on Mac then you already have a VNC client built-in. You can connect by entering vnc://<boot2docker-ip>:49160 in Safari or Alfred
When you are prompted for the password it is secret. If you wish to change this then you should either change it in the /NodeBase/Dockerfile and build the images yourself, or you can define a docker image that derives from the posted ones which reconfigures it:
dockerfileFROM selenium/node-chrome-debug:2.53.1 RUN x11vnc -storepasswd <your-password-here> /home/seluser/.vnc/passwd
Selenium automates browsers. That's it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well.
Selenium has the support of some of the largest browser vendors who have taken (or are taking) steps to make Selenium a native part of their browser. It is also the core technology in countless other browser automation tools, APIs and frameworks.
See the Selenium http://docs.seleniumhq.org/ for documation on usage within your test code.
View https://github.com/SeleniumHQ/docker-selenium/blob/master/LICENSE.md for the software contained in this image.
The first place where people ask for help about Selenium is the https://groups.google.com/forum/#!forum/selenium-users. Here, you'll find that most of the time, someone already found the problem you are facing right now, and usually reached the solution for which you are looking.
Note: Please make sure to search the group before asking for something. Your question likely won't get answered if it was previously answered in another discussion!
The best place to ask for help is the user group (because they also keep the information accessible for others to read in the future). However, if you have a very important (or too simple) issue that needs a solution ASAP, you can always enter the IRC chat room. You might just find someone ready to help on #selenium at Freenode.
If you have any problems with or questions about this image, please contact us through a https://github.com/SeleniumHQ/docker-selenium/issues. If you have any problems with or questions about Selenium, please contact us through Selenium's https://code.google.com/p/selenium/issues/list.
There are many ways to http://docs.seleniumhq.org/about/getting-involved.jsp whether by answering user questions, additional docs, or pull request we look forward to hearing from you.
If you do supply a patch we will need you to https://spreadsheets.google.com/spreadsheet/viewform?hl=en_US&formkey=dFFjXzBzM1VwekFlOWFWMjFFRjJMRFE6MQ#gid=0. We are part of SFC
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务