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:

  • Restoring package state without upgrade to keep Docker Container small
  • Unable to mount current directory in docker image
  • how to set file and dir permissions on docker when developing
  • In Docker, do I need to publish ports if I set network to host?
  • How to get the name of a Docker container using JavaScript?
  • Docker Strategy
  • 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.

  • mounting local home directory in Rstudio docker?
  • Concourse ci resolve docker hostname
  • Unable to start Docker Container in Bluemix
  • Docker - decrease pull size
  • ERROR: compose.cli.main.main: 500 Internal Server Error: Cannot start container : [9] System error: not a directory
  • Suggestions for carrying out automation using docker
  • 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.