{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/30193","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/30193/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/30193/comments","events_url":"https://api.github.com/repos/docker/docker/issues/30193/events","html_url":"https://github.com/docker/docker/pull/30193","id":201158252,"number":30193,"title":"Add a filter to reverse docker images by creation date","user":{"login":"TDAbboud","id":5448017,"avatar_url":"https://avatars.githubusercontent.com/u/5448017?v=3","gravatar_id":"","url":"https://api.github.com/users/TDAbboud","html_url":"https://github.com/TDAbboud","followers_url":"https://api.github.com/users/TDAbboud/followers","following_url":"https://api.github.com/users/TDAbboud/following{/other_user}","gists_url":"https://api.github.com/users/TDAbboud/gists{/gist_id}","starred_url":"https://api.github.com/users/TDAbboud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TDAbboud/subscriptions","organizations_url":"https://api.github.com/users/TDAbboud/orgs","repos_url":"https://api.github.com/users/TDAbboud/repos","events_url":"https://api.github.com/users/TDAbboud/events{/privacy}","received_events_url":"https://api.github.com/users/TDAbboud/received_events","type":"User","site_admin":false},"labels":[{"id":237472313,"url":"https://api.github.com/repos/docker/docker/labels/impact/cli","name":"impact/cli","color":"bfe5bf","default":false},{"id":175375318,"url":"https://api.github.com/repos/docker/docker/labels/status/1-design-review","name":"status/1-design-review","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-01-17T02:08:41Z","updated_at":"2017-01-17T17:02:55Z","closed_at":"2017-01-17T15:44:29Z","pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/30193","html_url":"https://github.com/docker/docker/pull/30193","diff_url":"https://github.com/docker/docker/pull/30193.diff","patch_url":"https://github.com/docker/docker/pull/30193.patch"},"body":"Signed-off-by: Tony Abboud <tdabboud@hotmail.com>\r\n\r\n<!--\r\nPlease make sure you've read and understood our contributing guidelines;\r\nhttps://github.com/docker/docker/blob/master/CONTRIBUTING.md\r\n\r\n** Make sure all your commits include a signature generated with `git commit -s` **\r\n\r\nFor additional information on our contributing process, read our contributing\r\nguide https://docs.docker.com/opensource/code/\r\n\r\nIf this is a bug fix, make sure your description includes \"fixes #xxxx\", or\r\n\"closes #xxxx\"\r\n\r\nPlease provide the following information:\r\n-->\r\n\r\n**- What I did**\r\nAdded a boolean filter to the `docker images`\r\ncommand which will output the images in reverse order by\r\ncreation date, where the most recently created image will\r\nbe on the bottom.\r\nExample Usage:\r\n    docker images -a -f reverse=true\r\n\r\nWith a lot of images you have to scroll up the terminal to see the latest docker images that are built, or you have to pipe the output to another command:\r\ni.e. `docker images -a | tail -r`\r\n\r\nThis will allow everyone to sort the images regardless of the underlying OS.\r\n\r\n**- How I did it**\r\nI added another filter flag `reverse=<true|false>` for the docker images command\r\n\r\n**- How to verify it**\r\nI added a unit test `TestImagesOrderedInReverseByCreationDate`\r\n\r\n**- Description for the changelog**\r\n<!--\r\nWrite a short (one line) summary that describes the changes in this\r\npull request for inclusion in the changelog:\r\n-->\r\nAdd a new filter, reverse=<true|false>, to sort the docker images by creation date\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/273230748","html_url":"https://github.com/docker/docker/pull/30193#issuecomment-273230748","issue_url":"https://api.github.com/repos/docker/docker/issues/30193","id":273230748,"user":{"login":"albers","id":2901725,"avatar_url":"https://avatars.githubusercontent.com/u/2901725?v=3","gravatar_id":"","url":"https://api.github.com/users/albers","html_url":"https://github.com/albers","followers_url":"https://api.github.com/users/albers/followers","following_url":"https://api.github.com/users/albers/following{/other_user}","gists_url":"https://api.github.com/users/albers/gists{/gist_id}","starred_url":"https://api.github.com/users/albers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albers/subscriptions","organizations_url":"https://api.github.com/users/albers/orgs","repos_url":"https://api.github.com/users/albers/repos","events_url":"https://api.github.com/users/albers/events{/privacy}","received_events_url":"https://api.github.com/users/albers/received_events","type":"User","site_admin":false},"created_at":"2017-01-17T17:02:55Z","updated_at":"2017-01-17T17:02:55Z","body":"@thaJeztah Thanks for pointing us to #25702. It's great that there's already WIP on sorting."}}
{"actor":{"display_login":"albers"}}