1、开启docker systemctl start docker
2、杀死所有正在运行的容器: docker kill $(docker ps -a -q)
3、删除所有镜像:docker rmi $(docker images -q)
4、fabric所在的目录:$GOPATH/src/github.com/hyperledger/
5、查看Centos内核的版本:uname -sr
6、fabric所需的软件环境 docker docker-compose go node gc++ npm
7、fabric 1.1安装 https://www.jianshu.com/p/05a8cad5b955
8、安装最新版nodejs https://blog.csdn.net/in_christ/article/details/82107649
9、docker 镜像 docker images
10、cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
11、 docker ps docker ps -a
12 、生成创世快:./bin/configtxgen -profile TwoOrgsOrdererGenesis -channelID mychannel -outputBlock ./channel-artifacts/genesis.block
13、生成通道:./bin/configtxgen -profile TwoOrgsChannel -outputCreateChannelTx ./channel-artifacts/channel.tx -channelID mychannel
14、生成锚点文件: ./bin/configtxgen -profile TwoOrgsChannel -outputAnchorPeersUpdate ./channel-artifacts/Org1MSPanchors.tx -channelID mychannel -asOrg Org1MSP