{"action":"created","issue":{"url":"https://api.github.com/repos/moby/moby/issues/37963","repository_url":"https://api.github.com/repos/moby/moby","labels_url":"https://api.github.com/repos/moby/moby/issues/37963/labels{/name}","comments_url":"https://api.github.com/repos/moby/moby/issues/37963/comments","events_url":"https://api.github.com/repos/moby/moby/issues/37963/events","html_url":"https://github.com/moby/moby/issues/37963","id":366381754,"node_id":"MDU6SXNzdWUzNjYzODE3NTQ=","number":37963,"title":"Error message about need to run elevated on Windows is incorrect","user":{"login":"jazzdelightsme","id":771085,"node_id":"MDQ6VXNlcjc3MTA4NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/771085?v=4","gravatar_id":"","url":"https://api.github.com/users/jazzdelightsme","html_url":"https://github.com/jazzdelightsme","followers_url":"https://api.github.com/users/jazzdelightsme/followers","following_url":"https://api.github.com/users/jazzdelightsme/following{/other_user}","gists_url":"https://api.github.com/users/jazzdelightsme/gists{/gist_id}","starred_url":"https://api.github.com/users/jazzdelightsme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jazzdelightsme/subscriptions","organizations_url":"https://api.github.com/users/jazzdelightsme/orgs","repos_url":"https://api.github.com/users/jazzdelightsme/repos","events_url":"https://api.github.com/users/jazzdelightsme/events{/privacy}","received_events_url":"https://api.github.com/users/jazzdelightsme/received_events","type":"User","site_admin":false},"labels":[{"id":381838255,"node_id":"MDU6TGFiZWwzODE4MzgyNTU=","url":"https://api.github.com/repos/moby/moby/labels/platform/desktop","name":"platform/desktop","color":"F6FBFF","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-10-03T14:55:39Z","updated_at":"2018-10-31T20:20:51Z","closed_at":"2018-10-31T20:20:51Z","author_association":"NONE","body":"<!--\r\nIf you are reporting a new issue, make sure that we do not have any duplicates\r\nalready open. You can ensure this by searching the issue list for this\r\nrepository. If there is a duplicate, please close your issue and add a comment\r\nto the existing issue instead.\r\n\r\nIf you suspect your issue is a bug, please edit your issue description to\r\ninclude the BUG REPORT INFORMATION shown below. If you fail to provide this\r\ninformation within 7 days, we cannot debug your issue and will close it. We\r\nwill, however, reopen it if you later provide the information.\r\n\r\nFor more information about reporting issues, see\r\nhttps://github.com/moby/moby/blob/master/CONTRIBUTING.md#reporting-other-issues\r\n\r\n---------------------------------------------------\r\nGENERAL SUPPORT INFORMATION\r\n---------------------------------------------------\r\n\r\nThe GitHub issue tracker is for bug reports and feature requests.\r\nGeneral support for **docker** can be found at the following locations:\r\n\r\n- Docker Support Forums - https://forums.docker.com\r\n- Slack - community.docker.com #general channel\r\n- Post a question on StackOverflow, using the Docker tag\r\n\r\nGeneral support for **moby** can be found at the following locations:\r\n\r\n- Moby Project Forums - https://forums.mobyproject.org\r\n- Slack - community.docker.com #moby-project channel\r\n- Post a question on StackOverflow, using the Moby tag\r\n\r\n---------------------------------------------------\r\nBUG REPORT INFORMATION\r\n---------------------------------------------------\r\nUse the commands below to provide key information from your environment:\r\nYou do NOT have to include this information if this is a FEATURE REQUEST\r\n-->\r\n\r\nIf Docker for Windows is not running, and you use the `docker` CLI, you get an error message similar to this:\r\n\r\n> error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.38/containers/json?all=1: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.\r\n\r\n<!--\r\nBriefly describe the problem you are having in a few paragraphs.\r\n-->\r\n\r\n**Steps to reproduce the issue:**\r\n1. If Docker for Windows is running, stop it.\r\n2. Run any docker CLI command (such as \"docker ps\")\r\n3. Observe error message\r\n\r\n**Describe the results you received:**\r\nThe error teaches new users that the Docker CLI must be run elevated.\r\n\r\n**Describe the results you expected:**\r\nThe Docker CLI does not need to run elevated, and I do not want to encourage our developers to run their development environments elevated unnecessarily.\r\n\r\n**Output of `docker version`:**\r\n\r\n```\r\nClient:\r\n Version:           18.06.1-ce\r\n API version:       1.38\r\n Go version:        go1.10.3\r\n Git commit:        e68fc7a\r\n Built:             Tue Aug 21 17:21:34 2018\r\n OS/Arch:           windows/amd64\r\n Experimental:      false\r\n```\r\n\r\nThe error message in question is here: [moby/moby/client/request.go#L179](https://github.com/moby/moby/blob/eff6e8bcbb212d10add7276eb1a94e4704974eb3/client/request.go#L179). User accounts should only need to be a member of the `docker-users` group, as described [in this comment](https://github.com/docker/for-win/issues/1732#issuecomment-376760330) (which is the default for the user that installed Docker)."},"comment":{"url":"https://api.github.com/repos/moby/moby/issues/comments/434833796","html_url":"https://github.com/moby/moby/issues/37963#issuecomment-434833796","issue_url":"https://api.github.com/repos/moby/moby/issues/37963","id":434833796,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDgzMzc5Ng==","user":{"login":"jazzdelightsme","id":771085,"node_id":"MDQ6VXNlcjc3MTA4NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/771085?v=4","gravatar_id":"","url":"https://api.github.com/users/jazzdelightsme","html_url":"https://github.com/jazzdelightsme","followers_url":"https://api.github.com/users/jazzdelightsme/followers","following_url":"https://api.github.com/users/jazzdelightsme/following{/other_user}","gists_url":"https://api.github.com/users/jazzdelightsme/gists{/gist_id}","starred_url":"https://api.github.com/users/jazzdelightsme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jazzdelightsme/subscriptions","organizations_url":"https://api.github.com/users/jazzdelightsme/orgs","repos_url":"https://api.github.com/users/jazzdelightsme/repos","events_url":"https://api.github.com/users/jazzdelightsme/events{/privacy}","received_events_url":"https://api.github.com/users/jazzdelightsme/received_events","type":"User","site_admin":false},"created_at":"2018-10-31T20:20:50Z","updated_at":"2018-10-31T20:20:50Z","author_association":"NONE","body":"Doesn't seem to be an important problem; closing."}}
{"actor":{"display_login":"jazzdelightsme"}}