{"action":"created","issue":{"url":"https://api.github.com/repos/fabric8io/docker-client/issues/59","repository_url":"https://api.github.com/repos/fabric8io/docker-client","labels_url":"https://api.github.com/repos/fabric8io/docker-client/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/fabric8io/docker-client/issues/59/comments","events_url":"https://api.github.com/repos/fabric8io/docker-client/issues/59/events","html_url":"https://github.com/fabric8io/docker-client/issues/59","id":157628925,"number":59,"title":"problem when inspecting a container","user":{"login":"gengweifeng","id":15317121,"avatar_url":"https://avatars.githubusercontent.com/u/15317121?v=3","gravatar_id":"","url":"https://api.github.com/users/gengweifeng","html_url":"https://github.com/gengweifeng","followers_url":"https://api.github.com/users/gengweifeng/followers","following_url":"https://api.github.com/users/gengweifeng/following{/other_user}","gists_url":"https://api.github.com/users/gengweifeng/gists{/gist_id}","starred_url":"https://api.github.com/users/gengweifeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gengweifeng/subscriptions","organizations_url":"https://api.github.com/users/gengweifeng/orgs","repos_url":"https://api.github.com/users/gengweifeng/repos","events_url":"https://api.github.com/users/gengweifeng/events{/privacy}","received_events_url":"https://api.github.com/users/gengweifeng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-31T09:34:25Z","updated_at":"2016-05-31T14:40:38Z","closed_at":null,"body":"Execuse me, I want to get some envs in a container. \r\nBut when I inspect a container using the dockerclient api, there is a exception that desribes:\r\n\r\n> Caused by: com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of io.fabric8.docker.api.model.LxcConfig out of START_ARRAY token at Source: buffer (com.squareup.okhttp.internal.http.Http1xStream$ChunkedSource@71def8f8 ) .inputStream(); line: 1, column: 1193 (through reference chain: io.fabric8.docker.api.model.ContainerInspect[\"HostConfig\"]->io.fabric8.docker.api.model.HostConfig[\"LxcConf\"])\r\n\r\nmy java codes: \r\n\r\n> dockerClient.container().withName(containerId).inspect().getConfig().getEnv()\r\n\r\nwhen I use command-line \"docker inspect containerId\", the result is:\r\n\r\n> [\r\n  {\r\n      [...]\r\n      \"HostConfig\": {\r\n          [...]\r\n          \"LxcConf\": [],\r\n          [...]\r\n      }\r\n      [...]\r\n  }\r\n]\r\n\r\nwhat did I mistake or it is a bug?"},"comment":{"url":"https://api.github.com/repos/fabric8io/docker-client/issues/comments/222709594","html_url":"https://github.com/fabric8io/docker-client/issues/59#issuecomment-222709594","issue_url":"https://api.github.com/repos/fabric8io/docker-client/issues/59","id":222709594,"user":{"login":"iocanel","id":402008,"avatar_url":"https://avatars.githubusercontent.com/u/402008?v=3","gravatar_id":"","url":"https://api.github.com/users/iocanel","html_url":"https://github.com/iocanel","followers_url":"https://api.github.com/users/iocanel/followers","following_url":"https://api.github.com/users/iocanel/following{/other_user}","gists_url":"https://api.github.com/users/iocanel/gists{/gist_id}","starred_url":"https://api.github.com/users/iocanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iocanel/subscriptions","organizations_url":"https://api.github.com/users/iocanel/orgs","repos_url":"https://api.github.com/users/iocanel/repos","events_url":"https://api.github.com/users/iocanel/events{/privacy}","received_events_url":"https://api.github.com/users/iocanel/received_events","type":"User","site_admin":false},"created_at":"2016-05-31T14:40:38Z","updated_at":"2016-05-31T14:40:38Z","body":"What you are doing is fine! Its either a bug or a version mismatch! "}}
{"actor":{"display_login":"iocanel"}}