docker 配置项
Posted qkstart
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了docker 配置项相关的知识,希望对你有一定的参考价值。
------------恢复内容开始------------
{ "registry-mirrors": [ "http://hub-mirror.c.163.com", "https://registry.docker-cn.com", "https://docker.mirrors.ustc.edu.cn" ], "insecure-registries": [], "debug": true, "experimental": false }
网易的镜像地址好像最快
#1 管理员权限运行 docker stop taro3 docker rm taro3 #docker run -itd --name taro3 node:latest docker run -itd -v $PWD/:/home/taro --name taro3 node:latest docker exec -it taro3 /bin/bash npm config get registry npm config set registry https://registry.npm.taobao.org/ yarn config get registry yarn config set registry https://registry.npm.taobao.org/ npm config set sass_binary_site https://npm.taobao.org/mirrors/node-sass/ yarn config set sass_binary_site https://npm.taobao.org/mirrors/node-sass/ yarn config delete proxy npm config rm proxy npm config rm https-proxy yarn global add mirror-config-china yarn global add node-sass yarn global add @tarojs/cli yarn install npm rebuild node-sass --save-dev yarn run dev:weapp
完整运行
以上是关于docker 配置项的主要内容,如果未能解决你的问题,请参考以下文章
CTS测试CtsWindowManagerDeviceTestCases模块的testShowWhenLockedImeActivityAndShowSoftInput测试fail项解决方法(代码片段