Windows 10 Docker Sitespeed.io error: "$(pwd)" includes invalid characters for a local volume name -


i new docker may simple fix.

i trying instance of sitespeed.io , running following docs on windows 10 machine has default install of docker - not using windows containers, c shared.. install steps: https://www.sitespeed.io/documentation/sitespeed.io/installation/#windows-1

step 1 works fine.

  • c:\users\vicky> docker pull sitespeedio/sitespeed.io

step 2 not.

  • c:\users\vicky> docker run --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io https://www.sitespeed.io -b firefox

this results in error looking with. specifically:

c:\windows\system32>docker run --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io https://www.sitespeed.io -b firefox docker: error response daemon: create $(pwd): "$(pwd)" includes invalid characters local volume name, "[a-za-z0-9][a-za-z0-9_.-]" allowed. if intended pass host directory, use absolute path. see 'docker run --help'. 

so running command per suggestion tarun: https://stackoverflow.com/users/2830850/tarun-lalwani works.

docker run --rm -v "%cd%":/sitespeed.io sitespeedio/sitespeed.io http: //www.yahoo.com -b firefox (space added url can see full string.) 

now produces following error...

docker run --rm -v "%cd%":/sitespeed.io sitespeedio/sitespeed.io https://www.yahoo.com -b firefox google chrome 60.0.3112.78 mozilla firefox 54.0 [2017-09-13 22:58:56] info: versions os: linux 4.9.41-moby nodejs: v6.11.1 sitespeed.io: 5.5.0 browsertime: 1.6.1 coach: 0.36.0 [2017-09-13 22:58:57] info: starting firefox analysing https://www.yahoo.com 3 time(s) [2017-09-13 22:58:57] testing url https://www.yahoo.com run 1 [2017-09-13 22:59:39] catched webdrivererror [reached error page: about:neterror?e=dnsnotfound&u=https%3a//www.yahoo.com/&c=utf-8&f=regular&d=firefox%20can%e2%80%99t%20find%20the%20server%20at%20www.yahoo.com.]. try 1 more time.webdrivererror: reached error page: about:neterror?e=dnsnotfound&u=https%3a//www.yahoo.com/&c=utf-8&f=regular&d=firefox%20can%e2%80%99t%20find%20the%20server%20at%20www.yahoo.com. [2017-09-13 23:00:20] webdrivererror:webdrivererror: reached error page: about:neterror?e=dnsnotfound&u=https%3a//www.yahoo.com/&c=utf-8&f=regular&d=firefox%20can%e2%80%99t%20find%20the%20server%20at%20www.yahoo.com. [2017-09-13 23:00:20] not load urlurlloaderror: failed load https://www.yahoo.com, cause: reached error page: about:neterror?e=dnsnotfound&u=https%3a//www.yahoo.com/&c=utf-8&f=regular&d=firefox%20can%e2%80%99t%20find%20the%20server%20at%20www.yahoo.com. [2017-09-13 23:00:21] error: https://www.yahoo.com generated following error in browsertime urlloaderror: failed load https://www.yahoo.com     @ browsertimeerror (/usr/src/app/node_modules/browsertime/lib/support/errors.js:5:5)     @ urlloaderror (/usr/src/app/node_modules/browsertime/lib/support/errors.js:19:5)     @ geturl.then.then.catch.catch.e (/usr/src/app/node_modules/browsertime/lib/core/seleniumrunner.js:175:15) previous event:     @ seleniumrunner.loadandwait (/usr/src/app/node_modules/browsertime/lib/core/seleniumrunner.js:173:13)     @ promise.resolve.tap.tap.tap.tap.tap (/usr/src/app/node_modules/browsertime/lib/core/engine.js:281:27) previous event:     @ runiteration (/usr/src/app/node_modules/browsertime/lib/core/engine.js:281:10)     @ promise.reduce (/usr/src/app/node_modules/browsertime/lib/core/engine.js:357:27) previous event:     @ promise.resolve.tap.tap.tap.tap.result (/usr/src/app/node_modules/browsertime/lib/core/engine.js:354:17)     @ runcallback (timers.js:672:20)     @ tryonimmediate (timers.js:645:5)     @ processimmediate [as _immediatecallback] (timers.js:617:5) previous event:     @ engine.run (/usr/src/app/node_modules/browsertime/lib/core/engine.js:353:8)     @ engine.start.then (/usr/src/app/lib/plugins/browsertime/analyzer.js:95:26) previous event:     @ object.analyzeurl (/usr/src/app/lib/plugins/browsertime/analyzer.js:95:8)     @ storagemanager.createdirforurl.then.then (/usr/src/app/lib/plugins/browsertime/index.js:179:32)     @ /usr/src/app/node_modules/mkdirp/index.js:30:20     @ fsreqwrap.oncomplete (fs.js:123:15) previous event:     @ object.processmessage (/usr/src/app/lib/plugins/browsertime/index.js:179:12)     @ queue.process.message (/usr/src/app/lib/support/queuehandler.js:183:32)     @ drainitem (/usr/src/app/node_modules/concurrent-queue/index.js:92:21)     @ immediate.drain (/usr/src/app/node_modules/concurrent-queue/index.js:73:84)     @ runcallback (timers.js:672:20)     @ tryonimmediate (timers.js:645:5)     @ processimmediate [as _immediatecallback] (timers.js:617:5) [2017-09-13 23:00:21] error: typeerror: cannot read property 'getitems' of undefined     @ object.summarize (/usr/src/app/lib/plugins/assets/aggregator.js:103:49)     @ object.processmessage (/usr/src/app/lib/plugins/assets/index.js:40:36)     @ queue.process.message (/usr/src/app/lib/support/queuehandler.js:183:32)     @ drainitem (/usr/src/app/node_modules/concurrent-queue/index.js:92:21)     @ immediate.drain (/usr/src/app/node_modules/concurrent-queue/index.js:73:84)     @ runcallback (timers.js:672:20)     @ tryonimmediate (timers.js:645:5)     @ processimmediate [as _immediatecallback] (timers.js:617:5) [2017-09-13 23:00:21] info: render html 1 page(s) [2017-09-13 23:00:21] info: html stored in /sitespeed.io/sitespeed-result/www.yahoo.com/2017-09-13-22-58-56 [2017-09-13 23:00:21] info: finished analysing https://www.yahoo.com 


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -