{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/19011","labels_url":"https://api.github.com/repos/docker/docker/issues/19011/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/19011/comments","events_url":"https://api.github.com/repos/docker/docker/issues/19011/events","html_url":"https://github.com/docker/docker/issues/19011","id":124431575,"number":19011,"title":"Docker options should not include \"-disable-legacy-registry\"","user":{"login":"qq690388648","id":13072423,"avatar_url":"https://avatars.githubusercontent.com/u/13072423?v=3","gravatar_id":"","url":"https://api.github.com/users/qq690388648","html_url":"https://github.com/qq690388648","followers_url":"https://api.github.com/users/qq690388648/followers","following_url":"https://api.github.com/users/qq690388648/following{/other_user}","gists_url":"https://api.github.com/users/qq690388648/gists{/gist_id}","starred_url":"https://api.github.com/users/qq690388648/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qq690388648/subscriptions","organizations_url":"https://api.github.com/users/qq690388648/orgs","repos_url":"https://api.github.com/users/qq690388648/repos","events_url":"https://api.github.com/users/qq690388648/events{/privacy}","received_events_url":"https://api.github.com/users/qq690388648/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/area/cli","name":"area/cli","color":"e11d21"},{"url":"https://api.github.com/repos/docker/docker/labels/kind/bug","name":"kind/bug","color":"FF8C94"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-31T04:33:43Z","updated_at":"2016-01-04T21:09:12Z","closed_at":null,"body":"When I typed <code>docker --help</code>, it shown as below:\r\n```\r\n docker --help\r\n\r\n    ............\r\n\r\nOptions:\r\n\r\n  --config=~/.docker                 Location of client config files\r\n  -D, --debug=false                  Enable debug mode\r\n  --disable-legacy-registry=false    Do not contact legacy registries\r\n  -H, --host=[]                      Daemon socket(s) to connect to\r\n  -h, --help=false                   Print usage\r\n  -l, --log-level=info               Set the logging level\r\n  --tls=false                        Use TLS; implied by --tlsverify\r\n  --tlscacert=~/.docker/ca.pem       Trust certs signed only by this CA\r\n  --tlscert=~/.docker/cert.pem       Path to TLS certificate file\r\n  --tlskey=~/.docker/key.pem         Path to TLS key file\r\n  --tlsverify=false                  Use TLS and verify the remote\r\n  -v, --version=false                Print version information and quit\r\n\r\nCommands:\r\n    attach    Attach to a running container\r\n    ..........\r\n```\r\nI think every option is appropriate except <code>-disable-legacy-registry</code> which is an flag for docker daemon and looks a little strange here, I think it should not appear here.\r\n\r\n```\r\ndocker version\r\nClient:\r\n Version:      1.9.1\r\n API version:  1.21\r\n Go version:   go1.4.2\r\n Git commit:   a34a1d5\r\n Built:        Fri Nov 20 13:12:04 UTC 2015\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      1.9.1\r\n API version:  1.21\r\n Go version:   go1.4.2\r\n Git commit:   a34a1d5\r\n Built:        Fri Nov 20 13:12:04 UTC 2015\r\n OS/Arch:      linux/amd64\r\n```\r\n\r\n```\r\ndocker info\r\nContainers: 5\r\nImages: 6\r\nServer Version: 1.9.1\r\nStorage Driver: aufs\r\n Root Dir: /var/lib/docker/aufs\r\n Backing Filesystem: extfs\r\n Dirs: 16\r\n Dirperm1 Supported: false\r\nExecution Driver: native-0.2\r\nLogging Driver: json-file\r\nKernel Version: 3.13.0-24-generic\r\nOperating System: Ubuntu 14.04 LTS\r\nCPUs: 1\r\nTotal Memory: 994 MiB\r\nName: ubuntu\r\nID: SOZD:32LZ:UXXG:3OXH:YTDQ:GWTP:C5FF:FP5Q:OPCI:46VY:F46A:4KM6\r\nHttp Proxy: http://10.170.23.211:808\r\nHttps Proxy: http://10.170.23.211:808\r\nWARNING: No swap limit support\r\n```"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/168809534","html_url":"https://github.com/docker/docker/issues/19011#issuecomment-168809534","issue_url":"https://api.github.com/repos/docker/docker/issues/19011","id":168809534,"user":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars.githubusercontent.com/u/1804568?v=3","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T21:09:12Z","updated_at":"2016-01-04T21:09:12Z","body":"@RichardScothern hm, perhaps the difference is that the Darwin version is a client-only build? What do you get if you `docker-machine ssh default` and run it inside the VM?"}}