无法使用 Eris / Monax 部署智能合约

Cannot deploy smart contract with Eris / Monax

我正在关注 Getting Started Tutorial,使用的是 eris 版本 0.12.0

我卡在部署智能合约的地方~/.eris/apps/idi/idi.sol

eris pkgs do --chain simplechain --address $addr

随机出现以下两个错误之一:

Performing action. This can sometimes take a wee while
Could not perform pkg action service: Could not perform pkg action: Docker: {"m
ssage":"Cannot link to a non running container: /simplechain-a49e7fc2-45d4-44df
83bf-1dfab6246c13 AS /interactive-67fff395-600b-4161-912b-df11dc6b2807/chain"}

或:

Performing action. This can sometimes take a wee while
Could not perform pkg action service: Docker: {"message":"Invalid container name
(.eris_tmp_-798bc8a1-70bb-45fd-ac23-8468503cdbad), only [a-zA-Z0-9][a-zA-Z0-9_.
-] are allowed"}

当我安装 eris 版本 0.11.4 时,错误如下所示:

Performing action. This can sometimes take a wee while
Sorry, the marmots were unable to load the eris-pm jobs file. Please check your
path.
ERROR =>                        Unsupported Config Type ""

Container interactive-39ac3a49-52fa-4f1d-953e-1662b1af7f21 exited with status 1

我重新启动了 Docker Quickstart Terminal 几次,还删除了 VirtualBox 中的默认 VM。

我做错了什么?感谢您的帮助!

我一直想念阋神星docker-机器运行。你可以用

检查这个
docker-machine ls

您可以使用以下方法重新创建它:

docker-machine create -d virtualbox eris

感谢 Monax / Eris 团队的快速帮助。

除了大卫的回答,你还应该运行 eval $(docker-machine env eris) 激活 docker-图像。