sitespeed.io: Windows sample docker command does not work
In the Windows section there is the sample:
C:\Users\Vicky> docker pull sitespeedio/sitespeed.io
C:\Users\Vicky> docker run --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io https://www.sitespeed.io -b firefox
The second command does not work from the Windows command line:
docker: Error response from daemon: create $(pwd): "$(pwd)" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (11 by maintainers)
Commits related to this issue
- note about Docker on Windows #1464 — committed to sitespeedio/sitespeed.io by soulgalore 7 years ago
- docs: fix docs for Windows Close https://github.com/apiaryio/dredd/issues/1123, inspired by https://github.com/sitespeedio/sitespeed.io/issues/1464 — committed to apiaryio/dredd-docker by honzajavorek 6 years ago
Looks like in windows command line it’s
%cd%
instead of$(pwd)
and in Powershell it’s${PWD}
. I can boot up my windows 10 instance and see.Hey @gitgrimbo thanks for the bug report! Can you test if this works (found it here https://github.com/dduportal-dockerfiles/docker-compose/issues/1#issuecomment-99464292):
If it works I can update the docs. Best Peter