{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/docker/issues/6523","labels_url":"https://api.github.com/repos/docker/docker/issues/6523/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/6523/comments","events_url":"https://api.github.com/repos/docker/docker/issues/6523/events","html_url":"https://github.com/docker/docker/issues/6523","id":36047028,"number":6523,"title":"Track image origin & last use time.","user":{"login":"phemmer","id":1826947,"avatar_url":"https://avatars.githubusercontent.com/u/1826947?v=3","gravatar_id":"","url":"https://api.github.com/users/phemmer","html_url":"https://github.com/phemmer","followers_url":"https://api.github.com/users/phemmer/followers","following_url":"https://api.github.com/users/phemmer/following{/other_user}","gists_url":"https://api.github.com/users/phemmer/gists{/gist_id}","starred_url":"https://api.github.com/users/phemmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phemmer/subscriptions","organizations_url":"https://api.github.com/users/phemmer/orgs","repos_url":"https://api.github.com/users/phemmer/repos","events_url":"https://api.github.com/users/phemmer/events{/privacy}","received_events_url":"https://api.github.com/users/phemmer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/Distribution","name":"Distribution","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-06-19T03:28:04Z","updated_at":"2015-02-25T19:47:29Z","closed_at":"2015-02-25T19:47:29Z","body":"It would be useful to have a way of obtaining when an image was last used. The primary use case for this is to determine which images can be removed from a server.\r\nOn a server which gets a lot of usage, it can rapidly acquire a lot of images. To keep the drive from filling, old images which are no longer in use need to be removed. However we only want to remove images which haven't been used in a while.\r\n\r\nAdditionally as part of the same objective, it would be useful to also know where the image came from. Or more specifically, if also exists on a registry somewhere. This way images which can easily be pulled down again can be deleted more frivolously."}}