{"action":"created","issue":{"url":"https://api.github.com/repos/docker-java/docker-java/issues/406","labels_url":"https://api.github.com/repos/docker-java/docker-java/issues/406/labels{/name}","comments_url":"https://api.github.com/repos/docker-java/docker-java/issues/406/comments","events_url":"https://api.github.com/repos/docker-java/docker-java/issues/406/events","html_url":"https://github.com/docker-java/docker-java/pull/406","id":122807563,"number":406,"title":"adding RestartCount to InspectContainerResponse","user":{"login":"gtejasvarma","id":3294832,"avatar_url":"https://avatars.githubusercontent.com/u/3294832?v=3","gravatar_id":"","url":"https://api.github.com/users/gtejasvarma","html_url":"https://github.com/gtejasvarma","followers_url":"https://api.github.com/users/gtejasvarma/followers","following_url":"https://api.github.com/users/gtejasvarma/following{/other_user}","gists_url":"https://api.github.com/users/gtejasvarma/gists{/gist_id}","starred_url":"https://api.github.com/users/gtejasvarma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtejasvarma/subscriptions","organizations_url":"https://api.github.com/users/gtejasvarma/orgs","repos_url":"https://api.github.com/users/gtejasvarma/repos","events_url":"https://api.github.com/users/gtejasvarma/events{/privacy}","received_events_url":"https://api.github.com/users/gtejasvarma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"KostyaSha","id":231611,"avatar_url":"https://avatars.githubusercontent.com/u/231611?v=3","gravatar_id":"","url":"https://api.github.com/users/KostyaSha","html_url":"https://github.com/KostyaSha","followers_url":"https://api.github.com/users/KostyaSha/followers","following_url":"https://api.github.com/users/KostyaSha/following{/other_user}","gists_url":"https://api.github.com/users/KostyaSha/gists{/gist_id}","starred_url":"https://api.github.com/users/KostyaSha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KostyaSha/subscriptions","organizations_url":"https://api.github.com/users/KostyaSha/orgs","repos_url":"https://api.github.com/users/KostyaSha/repos","events_url":"https://api.github.com/users/KostyaSha/events{/privacy}","received_events_url":"https://api.github.com/users/KostyaSha/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/docker-java/docker-java/milestones/1","html_url":"https://github.com/docker-java/docker-java/milestones/3.0.0","labels_url":"https://api.github.com/repos/docker-java/docker-java/milestones/1/labels","id":1413346,"number":1,"title":"3.0.0","description":"","creator":{"login":"KostyaSha","id":231611,"avatar_url":"https://avatars.githubusercontent.com/u/231611?v=3","gravatar_id":"","url":"https://api.github.com/users/KostyaSha","html_url":"https://github.com/KostyaSha","followers_url":"https://api.github.com/users/KostyaSha/followers","following_url":"https://api.github.com/users/KostyaSha/following{/other_user}","gists_url":"https://api.github.com/users/KostyaSha/gists{/gist_id}","starred_url":"https://api.github.com/users/KostyaSha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KostyaSha/subscriptions","organizations_url":"https://api.github.com/users/KostyaSha/orgs","repos_url":"https://api.github.com/users/KostyaSha/repos","events_url":"https://api.github.com/users/KostyaSha/events{/privacy}","received_events_url":"https://api.github.com/users/KostyaSha/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":15,"state":"open","created_at":"2015-11-16T10:15:47Z","updated_at":"2015-12-19T01:25:33Z","due_on":"2015-12-19T21:00:00Z","closed_at":null},"comments":2,"created_at":"2015-12-17T19:39:54Z","updated_at":"2015-12-21T21:55:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker-java/docker-java/pulls/406","html_url":"https://github.com/docker-java/docker-java/pull/406","diff_url":"https://github.com/docker-java/docker-java/pull/406.diff","patch_url":"https://github.com/docker-java/docker-java/pull/406.patch"},"body":"Helps client know how many times this container is restarted by docker deamon"},"comment":{"url":"https://api.github.com/repos/docker-java/docker-java/issues/comments/166434685","html_url":"https://github.com/docker-java/docker-java/pull/406#issuecomment-166434685","issue_url":"https://api.github.com/repos/docker-java/docker-java/issues/406","id":166434685,"user":{"login":"gtejasvarma","id":3294832,"avatar_url":"https://avatars.githubusercontent.com/u/3294832?v=3","gravatar_id":"","url":"https://api.github.com/users/gtejasvarma","html_url":"https://github.com/gtejasvarma","followers_url":"https://api.github.com/users/gtejasvarma/followers","following_url":"https://api.github.com/users/gtejasvarma/following{/other_user}","gists_url":"https://api.github.com/users/gtejasvarma/gists{/gist_id}","starred_url":"https://api.github.com/users/gtejasvarma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtejasvarma/subscriptions","organizations_url":"https://api.github.com/users/gtejasvarma/orgs","repos_url":"https://api.github.com/users/gtejasvarma/repos","events_url":"https://api.github.com/users/gtejasvarma/events{/privacy}","received_events_url":"https://api.github.com/users/gtejasvarma/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T21:55:16Z","updated_at":"2015-12-21T21:55:16Z","body":"Docker version 1.8.1, build d12ea79\r\n\r\n```json\r\n[\r\n{\r\n    \"Id\": \"eb0f2f328bd7822463dce0ba818e3fc752b7845076bcae4651a9f7e2242bb69a\",\r\n    \"Created\": \"2015-12-17T23:30:32.441044267Z\",\r\n    \"Path\": \"/bin/sh\",\r\n    \"Args\": [\r\n        \"-c\",\r\n        \"python app.py\"\r\n    ],\r\n    \"State\": {\r\n        \"Running\": true,\r\n        \"Paused\": false,\r\n        \"Restarting\": false,\r\n        \"OOMKilled\": false,\r\n        \"Dead\": false,\r\n        \"Pid\": 6897,\r\n        \"ExitCode\": 0,\r\n        \"Error\": \"\",\r\n        \"StartedAt\": \"2015-12-21T21:35:55.159459273Z\",\r\n        \"FinishedAt\": \"2015-12-21T21:35:55.035144823Z\"\r\n    },\r\n    \"Image\": \"2a5a22a6afd698c91579bc46ae0e8226b51211730fbe7082c5bd5390eaa3cdf6\",\r\n    \"NetworkSettings\": {\r\n        \"Bridge\": \"\",\r\n        \"EndpointID\": \"0eed0ac556bccf67642d495531757072cb6d3a8bca24772866375a45728a2891\",\r\n        \"Gateway\": \"172.17.42.1\",\r\n        \"GlobalIPv6Address\": \"\",\r\n        \"GlobalIPv6PrefixLen\": 0,\r\n        \"HairpinMode\": false,\r\n        \"IPAddress\": \"172.17.0.8\",\r\n        \"IPPrefixLen\": 16,\r\n        \"IPv6Gateway\": \"\",\r\n        \"LinkLocalIPv6Address\": \"\",\r\n        \"LinkLocalIPv6PrefixLen\": 0,\r\n        \"MacAddress\": \"02:42:ac:11:00:08\",\r\n        \"NetworkID\": \"553e1970ed30f71e4666580a19c85224e1136f5170adf08840a727ce7d9d4408\",\r\n        \"PortMapping\": null,\r\n        \"Ports\": {\r\n            \"5000/tcp\": [\r\n                {\r\n                    \"HostIp\": \"0.0.0.0\",\r\n                    \"HostPort\": \"5000\"\r\n                }\r\n            ]\r\n        },\r\n        \"SandboxKey\": \"/var/run/docker/netns/eb0f2f328bd7\",\r\n        \"SecondaryIPAddresses\": null,\r\n        \"SecondaryIPv6Addresses\": null\r\n    },\r\n    \"ResolvConfPath\": \"/var/lib/docker/containers/eb0f2f328bd7822463dce0ba818e3fc752b7845076bcae4651a9f7e2242bb69a/resolv.conf\",\r\n    \"HostnamePath\": \"/var/lib/docker/containers/eb0f2f328bd7822463dce0ba818e3fc752b7845076bcae4651a9f7e2242bb69a/hostname\",\r\n    \"HostsPath\": \"/var/lib/docker/containers/eb0f2f328bd7822463dce0ba818e3fc752b7845076bcae4651a9f7e2242bb69a/hosts\",\r\n    \"LogPath\": \"/var/lib/docker/containers/eb0f2f328bd7822463dce0ba818e3fc752b7845076bcae4651a9f7e2242bb69a/eb0f2f328bd7822463dce0ba818e3fc752b7845076bcae4651a9f7e2242bb69a-json.log\",\r\n    \"Name\": \"/iweb\",\r\n    \"RestartCount\": 1,\r\n    \"Driver\": \"devicemapper\",\r\n    \"ExecDriver\": \"native-0.2\",\r\n    \"MountLabel\": \"\",\r\n    \"ProcessLabel\": \"\",\r\n    \"AppArmorProfile\": \"\",\r\n    \"ExecIDs\": null,\r\n    \"HostConfig\": {\r\n        \"Binds\": [\r\n            \"/code/docker-compose-example:/code:rw\"\r\n        ],\r\n        \"ContainerIDFile\": \"\",\r\n        \"LxcConf\": null,\r\n        \"Memory\": 0,\r\n        \"MemorySwap\": 0,\r\n        \"CpuShares\": 0,\r\n        \"CpuPeriod\": 0,\r\n        \"CpusetCpus\": \"\",\r\n        \"CpusetMems\": \"\",\r\n        \"CpuQuota\": 0,\r\n        \"BlkioWeight\": 0,\r\n        \"OomKillDisable\": false,\r\n        \"MemorySwappiness\": null,\r\n        \"Privileged\": false,\r\n        \"PortBindings\": {\r\n            \"5000/tcp\": [\r\n                {\r\n                    \"HostIp\": \"\",\r\n                    \"HostPort\": \"5000\"\r\n                }\r\n            ]\r\n        },\r\n        \"Links\": null,\r\n        \"PublishAllPorts\": false,\r\n        \"Dns\": null,\r\n        \"DnsSearch\": null,\r\n        \"ExtraHosts\": [],\r\n        \"VolumesFrom\": [],\r\n        \"Devices\": null,\r\n        \"NetworkMode\": \"default\",\r\n        \"IpcMode\": \"\",\r\n        \"PidMode\": \"\",\r\n        \"UTSMode\": \"\",\r\n        \"CapAdd\": null,\r\n        \"CapDrop\": null,\r\n        \"GroupAdd\": null,\r\n        \"RestartPolicy\": {\r\n            \"Name\": \"on-failure\",\r\n            \"MaximumRetryCount\": 2\r\n        },\r\n        \"SecurityOpt\": null,\r\n        \"ReadonlyRootfs\": false,\r\n        \"Ulimits\": null,\r\n        \"LogConfig\": {\r\n            \"Type\": \"json-file\",\r\n            \"Config\": {}\r\n        },\r\n        \"CgroupParent\": \"\",\r\n        \"ConsoleSize\": [\r\n            0,\r\n            0\r\n        ]\r\n    },\r\n    \"GraphDriver\": {\r\n        \"Name\": \"devicemapper\",\r\n        \"Data\": {\r\n            \"DeviceId\": \"921\",\r\n            \"DeviceName\": \"docker-8:1-268493-eb0f2f328bd7822463dce0ba818e3fc752b7845076bcae4651a9f7e2242bb69a\",\r\n            \"DeviceSize\": \"10737418240\"\r\n        }\r\n    },\r\n    \"Mounts\": [\r\n        {\r\n            \"Source\": \"/code/docker-compose-example\",\r\n            \"Destination\": \"/code\",\r\n            \"Mode\": \"rw\",\r\n            \"RW\": true\r\n        }\r\n    ],\r\n    \"Config\": {\r\n        \"Hostname\": \"eb0f2f328bd7\",\r\n        \"Domainname\": \"\",\r\n        \"User\": \"\",\r\n        \"AttachStdin\": false,\r\n        \"AttachStdout\": false,\r\n        \"AttachStderr\": false,\r\n        \"ExposedPorts\": {\r\n            \"5000/tcp\": {}\r\n        },\r\n        \"PublishService\": \"\",\r\n        \"Tty\": false,\r\n        \"OpenStdin\": false,\r\n        \"StdinOnce\": false,\r\n        \"Env\": [\r\n            \"affinity:container==0b5658c6b6808ee2e950d809e846100607ae9e8dd8ccc32a9fee13963e84140a\",\r\n            \"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\",\r\n            \"LANG=C.UTF-8\",\r\n            \"PYTHON_VERSION=2.7.10\",\r\n            \"PYTHON_PIP_VERSION=7.1.0\"\r\n        ],\r\n        \"Cmd\": [\r\n            \"/bin/sh\",\r\n            \"-c\",\r\n            \"python app.py\"\r\n        ],\r\n        \"Image\": \"dockercomposeexample_web\",\r\n        \"Volumes\": {\r\n            \"/code\": {}\r\n        },\r\n        \"VolumeDriver\": \"\",\r\n        \"WorkingDir\": \"/code\",\r\n        \"Entrypoint\": null,\r\n        \"NetworkDisabled\": false,\r\n        \"MacAddress\": \"\",\r\n        \"OnBuild\": null,\r\n        \"Labels\": {\r\n            \"com.docker.compose.config-hash\": \"3ef2e430a4c80d8915b244af52c35f3e1b04562cda283435f8b70c05648237b0\",\r\n            \"com.docker.compose.container-number\": \"1\",\r\n            \"com.docker.compose.oneoff\": \"False\",\r\n            \"com.docker.compose.project\": \"dockercomposeexample\",\r\n            \"com.docker.compose.service\": \"web\",\r\n            \"com.docker.compose.version\": \"1.5.0dev\",\r\n            \"taskId\": \"1234\"\r\n        }\r\n    }\r\n}\r\n]\r\n```"}}