{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/25769","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/25769/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/25769/comments","events_url":"https://api.github.com/repos/docker/docker/issues/25769/events","html_url":"https://github.com/docker/docker/pull/25769","id":171512342,"number":25769,"title":"Sort the order of network driver list for `docker info`","user":{"login":"yongtang","id":6932348,"avatar_url":"https://avatars.githubusercontent.com/u/6932348?v=3","gravatar_id":"","url":"https://api.github.com/users/yongtang","html_url":"https://github.com/yongtang","followers_url":"https://api.github.com/users/yongtang/followers","following_url":"https://api.github.com/users/yongtang/following{/other_user}","gists_url":"https://api.github.com/users/yongtang/gists{/gist_id}","starred_url":"https://api.github.com/users/yongtang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yongtang/subscriptions","organizations_url":"https://api.github.com/users/yongtang/orgs","repos_url":"https://api.github.com/users/yongtang/repos","events_url":"https://api.github.com/users/yongtang/events{/privacy}","received_events_url":"https://api.github.com/users/yongtang/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/status/0-triage","name":"status/0-triage","color":"EEEEEE"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-16T20:41:48Z","updated_at":"2016-08-24T22:47:16Z","closed_at":"2016-08-24T22:47:16Z","pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/25769","html_url":"https://github.com/docker/docker/pull/25769","diff_url":"https://github.com/docker/docker/pull/25769.diff","patch_url":"https://github.com/docker/docker/pull/25769.patch"},"body":"**- What I did**\r\nWhile playing with `docker info` I noticed that the output of the network may change randomly with different runs. For example, below are the two consecutive runs of `docker info`:\r\n```\r\nubuntu@ubuntu:~/docker$ sudo docker info\r\n...\r\nPlugins:\r\n Volume: local\r\n Network: host bridge overlay null\r\n...\r\n```\r\n\r\n```\r\nubuntu@ubuntu:~/docker$ sudo docker info\r\n...\r\nPlugins:\r\n Volume: local\r\n Network: null host bridge overlay\r\n...\r\n```\r\n\r\nI think it might make sense to sort the list so that the output of the `docker info` is predictable.\r\n**- How I did it**\r\n\r\nThis fix sorts the order of network driver for `docker info`.\r\n\r\n**- How to verify it**\r\n\r\nTested manually, below is the output (predictable):\r\n```\r\nubuntu@ubuntu:~/docker$ sudo docker info\r\n...\r\nPlugins: \r\n Volume: local\r\n Network: bridge host null overlay\r\n...\r\n```\r\n\r\n**- Description for the changelog**\r\n\r\n**- A picture of a cute animal (not mandatory but encouraged)**\r\n\r\n\r\n\r\n\r\n\r\nSigned-off-by: Yong Tang <yong.tang.github@outlook.com>"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/242232212","html_url":"https://github.com/docker/docker/pull/25769#issuecomment-242232212","issue_url":"https://api.github.com/repos/docker/docker/issues/25769","id":242232212,"user":{"login":"yongtang","id":6932348,"avatar_url":"https://avatars.githubusercontent.com/u/6932348?v=3","gravatar_id":"","url":"https://api.github.com/users/yongtang","html_url":"https://github.com/yongtang","followers_url":"https://api.github.com/users/yongtang/followers","following_url":"https://api.github.com/users/yongtang/following{/other_user}","gists_url":"https://api.github.com/users/yongtang/gists{/gist_id}","starred_url":"https://api.github.com/users/yongtang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yongtang/subscriptions","organizations_url":"https://api.github.com/users/yongtang/orgs","repos_url":"https://api.github.com/users/yongtang/repos","events_url":"https://api.github.com/users/yongtang/events{/privacy}","received_events_url":"https://api.github.com/users/yongtang/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T22:47:16Z","updated_at":"2016-08-24T22:47:16Z","body":"It seems that the order has already been addressed by other pull requests. "}}
{"actor":{"display_login":"yongtang"}}