与Docker一起正确设置Indy
我正在进入Hyperleadger Indy进行一个项目,希望将其设置为一个干净的docker容器。它经常与正确的文档来源相混淆 首先,我想学习基于Alice的教程 我将其用作存储库,并使用来自的命令进行安装 一切正常,但当我尝试进入慢性粒细胞白血病时,会发生以下情况:与Docker一起正确设置Indy,docker,installation,identity,hyperledger-indy,Docker,Installation,Identity,Hyperledger Indy,我正在进入Hyperleadger Indy进行一个项目,希望将其设置为一个干净的docker容器。它经常与正确的文档来源相混淆 首先,我想学习基于Alice的教程 我将其用作存储库,并使用来自的命令进行安装 一切正常,但当我尝试进入慢性粒细胞白血病时,会发生以下情况: indy@a1265007869d:/$ indy Loading module /usr/local/lib/python3.5/dist-packages/config/config-crypto-example1.py M
indy@a1265007869d:/$ indy
Loading module /usr/local/lib/python3.5/dist-packages/config/config-crypto-example1.py
Module loaded.
This client is deprecated! Please, use the new libindy-based CLI: https://github.com/hyperledger/indy-sdk/tree/master/cli
Indy-CLI (c) 2017 Evernym, Inc.
Type 'help' for more information.
Running Indy 1.4.66
任何命令抛出:
Exception in callback PosixAsyncioEventLoop.run_as_coroutine.<locals>.stdin_ready() at /usr/lib/python3/dist-packages/prompt_toolkit/eventloop/asyncio_posix.py:65
handle: <Handle PosixAsyncioEventLoop.run_as_coroutine.<locals>.stdin_ready() at /usr/lib/python3/dist-packages/prompt_toolkit/eventloop/asyncio_posix.py:65>
回调PosixAsyncioEventLoop中出现异常。在/usr/lib/python3/dist packages/prompt\u toolkit/eventloop/asyncio\u posix.py处以协同程序的形式运行
处理:
有人可以解释一下什么时候使用Indy Node,什么时候使用Indy SDK,它们是独立的吗?嵌入式Indy Node CLI现在已不推荐使用。有两种选择:
indy CLI
分离包移动到CLI。你可以在这里找到它但是如何在Docker设置中获得indy cli包?从docker内部克隆它?按照上面答案中的说明,将其安装在同一网络或主机中的容器和节点、单独容器中的一个上(您必须确保节点的IP地址可从indy cli位置获得)