【发布时间】:2019-03-20 12:27:32
【问题描述】:
我正在使用https://hub.docker.com/r/testcafe/testcafe/
运行我们的 Testcafe 项目,它可以正常工作,只是在失败时无法创建屏幕截图目录,原因是:
Error: EACCES: permission denied, mkdir '/screenshots'
是否有可能使这项工作,我错过了什么?
我试过了:
--screenshots ./screenshots
和:
--screenshots {full path to directory}/screenshots
如何授予对此 docker 容器的访问权限,以便写入主机上的目录以供将来参考?
【问题讨论】:
标签: docker automated-tests e2e-testing web-testing testcafe