cf ic logs容器给出了json:不能将string解组为stringtypes的Go值

我不能在RedHat 6.7上工作。 它在Windows上工作正常,但我需要从RedHat 6.7,我的Docker是旧的(1.7),似乎并不支持后来一个。 我得到:

$ cf ic logs Container json: cannot unmarshal string into Go value of type []string FAILED Command failed 

我发现这是相同的,但表示解决scheme是使用最新的插件。 我说它在那里:

 $ cf ic update You are using the latest version of the plug-in. 

版本:

 $ uname -a Linux puvm61 2.6.32-642.15.1.el6.x86_64 #1 SMP Mon Feb 20 02:26:38 EST 2017 x86_64 x86_64 x86_64 GNU/Linux cat /etc/redhat-release Red Hat Enterprise Linux Workstation release 6.7 (Santiago) $docker --version Docker version 1.7.0, build 0baf609 $ cf ic version Client version: 1.7.0 Client API version: 1.19 Go version (client): go1.4.2 Git commit (client): 0baf609 OS/Arch (client): linux/amd64 Server version: 3.0 Server API version: 1.20 Go version (server): Git commit (server): OS/Arch (server): Bluemix Containers/ 

当你没有正确解组一个JSON响应时, Golang会抛出这个错误,所以看起来服务器端的响应给了你一个string ,但是这个插件需要[]string

如果您使用的是最新的插件,这看起来像一个错误,所以我build议在Bluemix上打开支持服务单。