win10 Fabric

按“Windows”+“R”键打开“运行”命令提示符。
键入“cmd”并按“Shift”+“Ctrl”+“Enter”以分配管理员权限

如何启用Win10下的Linux Bash
Bash是一个Unix shell,是1989中首次引入的一种命令语言。 它已被广泛用作Linux和MacOS的标准连接shell。
适用于 Windows 的 Linux 子系统(英语:Windows Subsystem for Linux,简称 WSL)是一个为在 Windows 10 和 Windows Server 2019 上能够原生运行 Linux 二进制可执行文件(ELF 格式)的兼容层。
Win10系统Bash on Ubuntu on Windows怎么用?(安装和使用),也可以在 Microsoft Store直接下载
安装linux子系统可解决“Windows子系统没有安装的分发”错误
Ubuntu on Windows10 跨平台开发环境搭建权威指南

docker国内镜像或(https://cloud.tencent.com/developer/article/1436568):在Docker的配置中,设置一个镜像的地址即可, 填写了之后,会需要重新启动Docker(https://blog.csdn.net/m0_37886429/article/details/80323149)
https://registry.docker-cn.com    #Docker中国区
http://hub-mirror.c.163.com      #网易
https://docker.mirrors.ustc.edu.cn #USTC
“https://kfwkfulq.mirror.aliyuncs.com”,
“https://2lqq34jg.mirror.aliyuncs.com”,
“https://pee6w651.mirror.aliyuncs.com”,
“https://registry.docker-cn.com”,
国内镜像没有docker安装,如果用国内镜像,做好备份
官方镜像

deb http://cn.archive.ubuntu.com/ubuntu/ bionic main restricted
deb http://cn.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb http://cn.archive.ubuntu.com/ubuntu/ bionic universe
deb http://cn.archive.ubuntu.com/ubuntu/ bionic-updates universe
deb http://cn.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse

curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh | bash -s – 1.4.3 1.4.3 0.4.15(短地址被墙,https://hyperledger-fabric.readthedocs.io/en/release-1.4/install.html)

修改:“/etc/apt/sources.list”文件的“deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable”这一行为“deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial bionic stable”,重点就是加入“xenial”repository,保存退出。
docker安装
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?问题,需要打开docker for windows的设置-General最后一项
然后,执行“docker -H tcp://0.0.0.0:2375 info”就可以返回docker信息了。但是这样很麻烦,所以可执行如下操作1、“echo “export DOCKER_HOST=‘tcp://0.0.0.0:2375’” >> ~/.bashrc”2、“source ~/.bashrc”然后就可以直接执行“docker info”了。
windows10 linux子系统 ubuntu 18.0运行docker需要docker for windows。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值