docker - Failed to download repo vuejs-templates/webpack: EACCES: permission denied, mkdir '/.vue-templates' -


i'm trying learn docker. installed docker toolbox on windows 10 (i have home edition, can't use regular docker installation because windows version doesn't have hyper-v).

i tried this container docker hub use vue.js framework:

docker pull ebiven/vue-cli

i added new alias written on container page (i changed name vuejs because have vue installed locally):

alias vuejs='docker run -it --rm -v "$pwd":"$pwd" -w "$pwd" -u "$(id -u)" ebiven/vue-cli vue'

and in console wrote:

vuejs init webpack .

i got error message:

vue-cli · failed download repo vuejs-templates/webpack: eacces: permission denied, mkdir '/.vue-templates'

how fix this?

after tries, realized need remove part of command: -u "$(id -u)". works properly.

so, should be: alias vuejs='docker run -it --rm -v "$pwd":"$pwd" -w "$pwd" ebiven/vue-cli vue'


Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -