{"action":"created","issue":{"url":"https://api.github.com/repos/deis/deis/issues/3716","labels_url":"https://api.github.com/repos/deis/deis/issues/3716/labels{/name}","comments_url":"https://api.github.com/repos/deis/deis/issues/3716/comments","events_url":"https://api.github.com/repos/deis/deis/issues/3716/events","html_url":"https://github.com/deis/deis/pull/3716","id":78142224,"number":3716,"title":"feat(user-data): add disk cleanup script","user":{"login":"croemmich","id":498811,"avatar_url":"https://avatars.githubusercontent.com/u/498811?v=3","gravatar_id":"","url":"https://api.github.com/users/croemmich","html_url":"https://github.com/croemmich","followers_url":"https://api.github.com/users/croemmich/followers","following_url":"https://api.github.com/users/croemmich/following{/other_user}","gists_url":"https://api.github.com/users/croemmich/gists{/gist_id}","starred_url":"https://api.github.com/users/croemmich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/croemmich/subscriptions","organizations_url":"https://api.github.com/users/croemmich/orgs","repos_url":"https://api.github.com/users/croemmich/repos","events_url":"https://api.github.com/users/croemmich/events{/privacy}","received_events_url":"https://api.github.com/users/croemmich/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/deis/deis/labels/requires-manual-testing","name":"requires-manual-testing","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"mboersma","id":73019,"avatar_url":"https://avatars.githubusercontent.com/u/73019?v=3","gravatar_id":"","url":"https://api.github.com/users/mboersma","html_url":"https://github.com/mboersma","followers_url":"https://api.github.com/users/mboersma/followers","following_url":"https://api.github.com/users/mboersma/following{/other_user}","gists_url":"https://api.github.com/users/mboersma/gists{/gist_id}","starred_url":"https://api.github.com/users/mboersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboersma/subscriptions","organizations_url":"https://api.github.com/users/mboersma/orgs","repos_url":"https://api.github.com/users/mboersma/repos","events_url":"https://api.github.com/users/mboersma/events{/privacy}","received_events_url":"https://api.github.com/users/mboersma/received_events","type":"User","site_admin":false},"milestone":null,"comments":25,"created_at":"2015-05-19T15:45:45Z","updated_at":"2015-06-15T19:52:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/deis/deis/pulls/3716","html_url":"https://github.com/deis/deis/pull/3716","diff_url":"https://github.com/deis/deis/pull/3716.diff","patch_url":"https://github.com/deis/deis/pull/3716.patch"},"body":"Add a script that cleans up docker images, exited containers, and orphaned volumes.\r\n\r\nCloses #3675."},"comment":{"url":"https://api.github.com/repos/deis/deis/issues/comments/112187430","html_url":"https://github.com/deis/deis/pull/3716#issuecomment-112187430","issue_url":"https://api.github.com/repos/deis/deis/issues/3716","id":112187430,"user":{"login":"carmstrong","id":536009,"avatar_url":"https://avatars.githubusercontent.com/u/536009?v=3","gravatar_id":"","url":"https://api.github.com/users/carmstrong","html_url":"https://github.com/carmstrong","followers_url":"https://api.github.com/users/carmstrong/followers","following_url":"https://api.github.com/users/carmstrong/following{/other_user}","gists_url":"https://api.github.com/users/carmstrong/gists{/gist_id}","starred_url":"https://api.github.com/users/carmstrong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carmstrong/subscriptions","organizations_url":"https://api.github.com/users/carmstrong/orgs","repos_url":"https://api.github.com/users/carmstrong/repos","events_url":"https://api.github.com/users/carmstrong/events{/privacy}","received_events_url":"https://api.github.com/users/carmstrong/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T19:52:51Z","updated_at":"2015-06-15T19:52:51Z","body":"> maybe the cleanup script is something we could just reference in documentation?\r\n\r\nI think we wanted something in Deis itself, a more or less \"official\" method to cleaning up images.\r\n\r\n> The Deis project could provide the image at a known Docker Hub repo, or the script at an S3 URL, and this PR would just document how to access and use it.\r\n\r\nMy concern with that is there's less visibility. If it's an S3 script we'll have to maintain it somehow, and git seems like the best place to version something like that.\r\n\r\nThe goal here is to provide a safe, easy-to-use, and supported method for preventing users from running out of disk space.\r\n\r\nWherever the script lives, I think we have to take on the burden of its maintenance considering how these disk space issues impact our users. Note that #3698 is also similar to this, and we might be able to address these with one fell swoop. Maybe we should take a step back and think about how best to approach this."}}