bluemix “docker images” results in “json: cannot unmarshal string into Go value of type int”

半城伤御伤魂 提交于 2020-01-07 07:11:25

问题


I have successfully uploaded two images from the docker registry to my IBM Bluemix registry, which I can see when logging into the Bluemix UI. However, I am unable to list the images using the CLIs.

Using the docker command I receive the following:

krsyoung:code krsyoung$ docker images
json: cannot unmarshal string into Go value of type int

And with cf ic:

krsyoung:code krsyoung$ cf ic images
json: cannot unmarshal string into Go value of type int

Invalid IBM-Containers commands or docker commands.
Available IBM Containers commands are {login, group, ip, route,     volume, namespace, info}
In addition, IBM Containers supports native docker cli passthrough, run cf ic help for more details

Here are the versions of software I'm running:

krsyoung:code krsyoung$ docker --version
Docker version 1.7.0, build 0baf609

krsyoung:code krsyoung$ cf --version
cf version 6.12.0-8c65bbd-2015-06-30T00:05:01+00:00

krsyoung:code krsyoung$ cf plugins
Listing Installed Plugins...
OK

Plugin Name      Version   Command Name   Command Help   
IBM-Containers   0.8.598   ic             IBM-Containers Plugin

Adding the debug flag does not help. Any ideas?

Thanks!


回答1:


Please use docker 1.6.2. Docker 1.7 isn't supported at the moment



来源:https://stackoverflow.com/questions/31414796/bluemix-docker-images-results-in-json-cannot-unmarshal-string-into-go-value

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!