知乎專欄 | 多維度架構 | | | 微信號 netkiller-ebook | | | QQ群:128659835 請註明“讀者” |
運行這個命令請慎重,這裡是為了不被先前的實驗產生的容易所影響,清理 Docker 虛擬機,
[root@localhost ~]# docker rmi -f $(docker images -q)
克隆源碼,因為我們需要 example 目錄中的檔案,所以將 https://github.com/hyperledger/fabric.git 源碼克隆到本地。
[root@localhost ~]# go get github.com/hyperledger/fabric [root@localhost ~]# git clone --depth=1 https://github.com/hyperledger/fabric.git [root@localhost ~]# cd fabric [root@localhost fabric]# make release [root@localhost ~]# cd ~/fabric/examples/e2e_cli/ [root@localhost e2e_cli]#