【发布时间】:2018-11-28 00:39:39
【问题描述】:
我正在尝试使用https://github.com/IBM/blockchain-network-on-kubernetes 作为参考在 kubernetes 上运行超级账本结构区块链网络。在其中一个步骤中,使用以下 yaml 文件将 atrifacts(链代码、configtx.yaml)复制到卷中
我无法理解文件是如何复制到共享持久卷中的。第 24 行的入口点命令是否将工件复制到持久卷?我在这里看不到cp。那么复制是如何发生的呢?
command: ["sh", "-c", "ls -l /shared; rm -rf /shared/*; ls -l /shared; while [ ! -d /shared/artifacts ]; do echo Waiting for artifacts to be copied; sleep 2; done; sleep 10; ls -l /shared/artifacts; "]
【问题讨论】:
标签: kubernetes hyperledger-fabric