You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found issue with config file when running docker run -it --rm -v ./src:/test -w /test -u node cypress/included from VS Code. File exists in the mounted folder (p. 3 on screenshot).
The text was updated successfully, but these errors were encountered:
It appears that you are using docker run directly in Microsoft Windows in a cmd terminal window. This use of Cypress Docker image examples is not covered in the documentation.
To run the example in this configuration you need to change the src directory forward slash / (Linux style) to backward slash \ (Windows style).
The example becomes then
cd examples/included-as-non-root
docker run -it --rm -v .\src:/test -w /test -u node cypress/included
or, avoiding the slash / backslash problem in docker run:
cd examples/included-as-non-root/src
docker run -it --rm -v .:/test -w /test -u node cypress/included
In the case of Windows environments, see Docker Desktop for Windows and Cypress documentation Windows Subsystem for Linux for additional information regarding Microsoft's WSL2 and WSLg subsystems. The documentation and scripts in this repository assume that Docker Desktop for Windows runs in a virtual Linux environment.
I found issue with config file when running docker run -it --rm -v ./src:/test -w /test -u node cypress/included from VS Code. File exists in the mounted folder (p. 3 on screenshot).
The text was updated successfully, but these errors were encountered: