在Docker上运行多个柏树套件
我试图在Docker上运行柏树套件,但只有两次跑步中,有没有办法实现多个跑步?
这是撰写文件:
version: '3.2'
services:
suite1:
container_name: suite1
image: 'cyp1'
environment:
- CYPRESS_environment=test
working_dir: /test
network_mode: 'host'
volumes:
- ./:/test
- /dev/shm:/dev/shm
command: '--browser chrome --spec cypress/integration/wfo/speech-iq/configuration/**'
suite2:
container_name: suite2
image: 'cyp2'
environment:
- CYPRESS_environment=test
working_dir: /test1
network_mode: 'host'
volumes:
- ./:/test1
- /dev/shm:/dev/shm
command: '--browser chrome --spec cypress/integration/siq/speech-iq/configuration/**'
错误:
suite2 | Xvfb exited with a non zero exit code.
suite2 |
suite2 | There was a problem spawning Xvfb.
suite2 |
suite2 | This is likely a problem with your system, permissions, or installation of Xvfb.
请建议。谢谢!
I am trying to run cypress suites on docker compose but out of two only one runs, is there a way to fulfill multiple runs?
Here is the compose file:
version: '3.2'
services:
suite1:
container_name: suite1
image: 'cyp1'
environment:
- CYPRESS_environment=test
working_dir: /test
network_mode: 'host'
volumes:
- ./:/test
- /dev/shm:/dev/shm
command: '--browser chrome --spec cypress/integration/wfo/speech-iq/configuration/**'
suite2:
container_name: suite2
image: 'cyp2'
environment:
- CYPRESS_environment=test
working_dir: /test1
network_mode: 'host'
volumes:
- ./:/test1
- /dev/shm:/dev/shm
command: '--browser chrome --spec cypress/integration/siq/speech-iq/configuration/**'
Error:
suite2 | Xvfb exited with a non zero exit code.
suite2 |
suite2 | There was a problem spawning Xvfb.
suite2 |
suite2 | This is likely a problem with your system, permissions, or installation of Xvfb.
Please advise. Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论