{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/docker/issues/27772","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/27772/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/27772/comments","events_url":"https://api.github.com/repos/docker/docker/issues/27772/events","html_url":"https://github.com/docker/docker/issues/27772","id":185330958,"number":27772,"title":"docker stats --no-stream hangs if there is a restarting container","user":{"login":"derfred","id":24133,"avatar_url":"https://avatars.githubusercontent.com/u/24133?v=3","gravatar_id":"","url":"https://api.github.com/users/derfred","html_url":"https://github.com/derfred","followers_url":"https://api.github.com/users/derfred/followers","following_url":"https://api.github.com/users/derfred/following{/other_user}","gists_url":"https://api.github.com/users/derfred/gists{/gist_id}","starred_url":"https://api.github.com/users/derfred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derfred/subscriptions","organizations_url":"https://api.github.com/users/derfred/orgs","repos_url":"https://api.github.com/users/derfred/repos","events_url":"https://api.github.com/users/derfred/events{/privacy}","received_events_url":"https://api.github.com/users/derfred/received_events","type":"User","site_admin":false},"labels":[{"id":441967718,"url":"https://api.github.com/repos/docker/docker/labels/area/daemon","name":"area/daemon","color":"fbca04","default":false},{"id":190258329,"url":"https://api.github.com/repos/docker/docker/labels/kind/bug","name":"kind/bug","color":"FF8C94","default":false},{"id":375714123,"url":"https://api.github.com/repos/docker/docker/labels/version/1.12","name":"version/1.12","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/docker/docker/milestones/56","html_url":"https://github.com/docker/docker/milestones/1.13.0","labels_url":"https://api.github.com/repos/docker/docker/milestones/56/labels","id":1839404,"number":56,"title":"1.13.0","description":"","creator":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars.githubusercontent.com/u/1804568?v=3","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"open_issues":130,"closed_issues":894,"state":"open","created_at":"2016-06-20T22:51:25Z","updated_at":"2016-11-20T20:14:37Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-10-26T08:43:03Z","updated_at":"2016-11-20T20:14:37Z","closed_at":"2016-11-20T20:14:37Z","body":"**Description**\n\nIf there is a container which is restarting the command `docker stats --no-stream` will hang indefinitely.\n\n**Steps to reproduce the issue:**\n1. `docker run --restart always ubuntu true`\n2. `docker stats --no-stream` will hang\n3. `docker rm -f <container>`\n4. `docker stats --no-stream` will not hang\n\n**Describe the results you received:**\nsee steps to reproduce\n\n**Describe the results you expected:**\nIt should not include the restarting container.\n\n**Additional information you deem important (e.g. issue happens only occasionally):**\n\n**Output of `docker version`:**\n\n```\nClient:\n Version:      1.12.1\n API version:  1.24\n Go version:   go1.6.3\n Git commit:   23cf638\n Built:        Thu Aug 18 05:22:43 2016\n OS/Arch:      linux/amd64\n\nServer:\n Version:      1.12.1\n API version:  1.24\n Go version:   go1.6.3\n Git commit:   23cf638\n Built:        Thu Aug 18 05:22:43 2016\n OS/Arch:      linux/amd64\n```\n\n**Output of `docker info`:**\n\n```\nContainers: 56\n Running: 55\n Paused: 0\n Stopped: 1\nImages: 244\nServer Version: 1.12.1\nStorage Driver: aufs\n Root Dir: /var/lib/docker/aufs\n Backing Filesystem: extfs\n Dirs: 1241\n Dirperm1 Supported: true\nLogging Driver: json-file\nCgroup Driver: cgroupfs\nPlugins:\n Volume: local\n Network: null overlay bridge host\nSwarm: inactive\nRuntimes: runc\nDefault Runtime: runc\nSecurity Options: apparmor\nKernel Version: 4.2.0-42-generic\nOperating System: Ubuntu 14.04.5 LTS\nOSType: linux\nArchitecture: x86_64\nCPUs: 8\nTotal Memory: 31.12 GiB\nName: kubo2.meeting-masters.eu\nID: TGTE:FPTA:2Y7H:BM3N:AGS3:JY3U:MO6L:7RYT:JPTQ:7LPV:QAGX:CGCX\nDocker Root Dir: /var/lib/docker\nDebug Mode (client): false\nDebug Mode (server): false\nUsername: dockerator\nRegistry: https://index.docker.io/v1/\nWARNING: No swap limit support\nWARNING: bridge-nf-call-iptables is disabled\nWARNING: bridge-nf-call-ip6tables is disabled\nCluster Store: consul://x.x.x.x:8500\nCluster Advertise: x.x.x.x:2376\nInsecure Registries:\n 127.0.0.0/8\n```\n\n**Additional environment details (AWS, VirtualBox, physical, etc.):**\n"}}
{"actor":{"display_login":"vdemeester"}}