OpenWisk Docker支持安装失败

时间:2016-03-14 12:31:17

标签: docker openwhisk

当我尝试在OpenWhisk中安装docker骨架时,它会因此错误而失败:

$ wsk sdk install docker tar: blackbox-0.1.0.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now Could not install docker skeleton.

2 个答案:

答案 0 :(得分:2)

我推测你还没有部署OpenWhisk并且正在做这样的事情。

> wsk sdk install docker
tar: blackbox-0.1.0.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
Could not install docker skeleton.

要部署系统,请按照https://github.com/openwhisk/openwhisk#build-and-deploy-openwhisk上的说明进行操作。你应该得到这样的东西:

> ant deploy >& /dev/null 
> wsk sdk install docker
The docker skeleton is now installed at the current directory.
> ls dockerSkeleton/
Dockerfile      README.md       buildAndPush.sh client          server

答案 1 :(得分:0)

所以看来缺少的blackbox-0,1.0.tar.gz应该由api端点托管,但不包含在OpenWhisk中。

我的解决方法是通过以下方式将其从Bluemix中删除:

wsk property unset --apihost
wsk sdk install docker
wsk property set --apihost <openwhisk api host>

我在上面打开了一个问题。 https://github.com/openwhisk/openwhisk/issues/74

相关问题