bluemix containers -> json: cannot unmarshal string into Go value of type []string

I’m trying to retrieve the logs on an IBM container:

snowch$ cf ic logs $CONTAINER_ID
json: cannot unmarshal string into Go value of type []string

My versions are:

  • docker create service unavailable
  • Docker Maven plugin: how to specify shm size when running a container
  • session replication using AWS tomcat and RDS
  • How I can use docker-registry with login/password?
  • How to run protractor end to end tests in docker container?
  • Gitlab CI build failed with “Preparation failed: cannot connect to Docker endpoint”
  • snowch$ cf ic version
    Client version: 1.7.1
    Client API version: 1.19
    Go version (client): go1.4.2
    Git commit (client): 786b29d
    OS/Arch (client): darwin/amd64
    Server version: 3.0
    Server API version: 1.20
    Go version (server):
    Git commit (server):
    OS/Arch (server): Bluemix Containers/
    

    and

    snowch$ cf --version
    cf version 6.18.0+b22884b-2016-05-10
    

    I have seen a number of questions on stackoverflow for this error message, but none of them are using the cf ic logs command.

  • Setting up MySQL and importing dump within Dockerfile
  • Check data replication in zookeeper ensemble
  • SQL Server backup with sqlcmd doesn't create file
  • working in Docker with large datasets
  • How to run Alfresco Bundled Installer on Docker?
  • Docker Registrator: Connection refused
  • One Solution collect form web for “bluemix containers -> json: cannot unmarshal string into Go value of type []string”

    Installing the latest ‘ic’ plugin as suggested by umberto-manganiello fixed the issue for me.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.