无法与Eris / Monax部署智能合约

时间:2016-12-01 13:11:05

标签: smartcontracts eris

我跟随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终端,并删除了VirtualBox中的默认虚拟机。

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

2 个答案:

答案 0 :(得分:1)

除了大卫的回答,你也应该跑 eval $(docker-machine env eris)激活docker-image。

答案 1 :(得分:0)

我一直在错过eris docker-machine的运行。您可以使用

进行检查
docker-machine ls

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

docker-machine create -d virtualbox eris

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