0

docker run -it -v "%cd%":/e2e -w /e2e cypress/included:6.2.1 --browser chrome

If try to run this command in Visual Studio Code it throws me an error like this:

docker: invalid reference format. See 'docker run --help'

I tried to change "%cd%" in {pwd} or $PWD , I´m using Windows and I think "%cd%" is the best way but it didn´t work.

kemal uluz
  • 15
  • 4

1 Answers1

2

use ${PWD} instead of %cd%

docker run -it -v ${PWD}:/e2e -w /e2e cypress/included:6.2.1 --browser chrome
Arun B S
  • 76
  • 9