Docker镜像的仓库配置
创建文件夹
sudo mkdir -p /etc/docker
编辑新建/etc/docker/daemon.json文件,并输入国内镜像源地址
sudo vi /etc/docker/daemon.json
{
“registry-mirrors”: [“https://docker.mirrors.ustc.edu.cn”]
}
拉取zipkin和elasticsearch和rabbitmq的镜像(安装时间较长)
docker pull openzipkin/zipkin
docker pull docker.elastic.co/elasticsearch/elasticsearch:6.3.0
docker pull rabbitmq:management
查看 docker imges
npm install 命令下载慢的问题(替换成淘宝镜像即可)
npm config set registry https://registry.npm.taobao.org --global
npm config set disturl https://npm.taobao.org/dist --global