Docker Community Forums

Share and learn in the Docker community.

To get container status {"" ""}: rpc error: code = 2 desc = json: cannot unmarshal array into Go value of type types.ContainerJSON

docker

(Rakeshjoshi3107) #1

Hi,

I’m using Docker v. 1.12.6 with Kubernetes on RHEL 7.4, the backend storage device is “DeviceMapper”.

i’m getting the error

“to get container status {”" “”}: rpc error: code = 2 desc = json: cannot unmarshal array into Go value of type types.ContainerJSON"

Please help