{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/6928","labels_url":"https://api.github.com/repos/docker/docker/issues/6928/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/6928/comments","events_url":"https://api.github.com/repos/docker/docker/issues/6928/events","html_url":"https://github.com/docker/docker/issues/6928","id":37468867,"number":6928,"title":"UX for client download aborts","user":{"login":"ewindisch","id":73207,"avatar_url":"https://avatars.githubusercontent.com/u/73207?v=3","gravatar_id":"","url":"https://api.github.com/users/ewindisch","html_url":"https://github.com/ewindisch","followers_url":"https://api.github.com/users/ewindisch/followers","following_url":"https://api.github.com/users/ewindisch/following{/other_user}","gists_url":"https://api.github.com/users/ewindisch/gists{/gist_id}","starred_url":"https://api.github.com/users/ewindisch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewindisch/subscriptions","organizations_url":"https://api.github.com/users/ewindisch/orgs","repos_url":"https://api.github.com/users/ewindisch/repos","events_url":"https://api.github.com/users/ewindisch/events{/privacy}","received_events_url":"https://api.github.com/users/ewindisch/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/exp/expert","name":"exp/expert","color":"3B8686"},{"url":"https://api.github.com/repos/docker/docker/labels/group/distribution","name":"group/distribution","color":"D6EBFF"},{"url":"https://api.github.com/repos/docker/docker/labels/kind/enhancement","name":"kind/enhancement","color":"E8CAAF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":34,"created_at":"2014-07-09T14:18:12Z","updated_at":"2015-07-27T07:52:32Z","closed_at":null,"body":"Attempting to abort a download usually begins with a user initiating a Ctrl-C against a docker client. This, however, continues the download from the server side and does not have a clear way to resume the download from the perspective of the user.\r\n\r\nSuggested solutions are:\r\n\r\n1. Detect disconnected clients and abort downloads on the server. Potentially catch ctrl-z or accept a flag to allow pulls to operate in the background without a connected client.\r\n2. Catch ctrl-c and print a warning that the download will continue in the background. Improve reconnecting to 'docker pull' event streams.\r\n3. Implement ' docker pull --list' and 'docker pull --abort', or a set of 'docker download' sub-commands for management of running download tasks."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/125114494","html_url":"https://github.com/docker/docker/issues/6928#issuecomment-125114494","issue_url":"https://api.github.com/repos/docker/docker/issues/6928","id":125114494,"user":{"login":"royingantaginting","id":2832237,"avatar_url":"https://avatars.githubusercontent.com/u/2832237?v=3","gravatar_id":"","url":"https://api.github.com/users/royingantaginting","html_url":"https://github.com/royingantaginting","followers_url":"https://api.github.com/users/royingantaginting/followers","following_url":"https://api.github.com/users/royingantaginting/following{/other_user}","gists_url":"https://api.github.com/users/royingantaginting/gists{/gist_id}","starred_url":"https://api.github.com/users/royingantaginting/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/royingantaginting/subscriptions","organizations_url":"https://api.github.com/users/royingantaginting/orgs","repos_url":"https://api.github.com/users/royingantaginting/repos","events_url":"https://api.github.com/users/royingantaginting/events{/privacy}","received_events_url":"https://api.github.com/users/royingantaginting/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T07:52:32Z","updated_at":"2015-07-27T07:52:32Z","body":"+1"}}