{"action":"created","issue":{"url":"https://api.github.com/repos/docker/compose/issues/6049","repository_url":"https://api.github.com/repos/docker/compose","labels_url":"https://api.github.com/repos/docker/compose/issues/6049/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/6049/comments","events_url":"https://api.github.com/repos/docker/compose/issues/6049/events","html_url":"https://github.com/docker/compose/issues/6049","id":336519608,"node_id":"MDU6SXNzdWUzMzY1MTk2MDg=","number":6049,"title":"Accidentally delete system environment variables","user":{"login":"ibocon","id":9730869,"node_id":"MDQ6VXNlcjk3MzA4Njk=","avatar_url":"https://avatars1.githubusercontent.com/u/9730869?v=4","gravatar_id":"","url":"https://api.github.com/users/ibocon","html_url":"https://github.com/ibocon","followers_url":"https://api.github.com/users/ibocon/followers","following_url":"https://api.github.com/users/ibocon/following{/other_user}","gists_url":"https://api.github.com/users/ibocon/gists{/gist_id}","starred_url":"https://api.github.com/users/ibocon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibocon/subscriptions","organizations_url":"https://api.github.com/users/ibocon/orgs","repos_url":"https://api.github.com/users/ibocon/repos","events_url":"https://api.github.com/users/ibocon/events{/privacy}","received_events_url":"https://api.github.com/users/ibocon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-28T08:18:36Z","updated_at":"2018-06-28T19:28:33Z","closed_at":null,"author_association":"NONE","body":"## Description of the issue\r\n\r\nI accidentally delete docker's system environment variables on Windows 10.\r\n\r\nError Message:\r\nThe DOCKER_REGISTRY variable is not set. Defaulting to a blank string.\r\n\r\n## Context information (for bug reports)\r\n\r\nI change my Windows edition from Home to Enterprise.\r\nI got an error from Docker for Windows because of Docker Toolbox's system environment variable.\r\nTherefore, I delete Docker related system environment variable and re-install Docker for windows.\r\nThen I got an error on building ASP.NET Core MVC template project.\r\n\r\n```\r\nOutput of \"docker-compose version\"\r\n```\r\ndocker-compose version 1.21.1, build 7641a569\r\ndocker-py version: 3.2.1\r\nCPython version: 3.6.4\r\nOpenSSL version: OpenSSL 1.0.2k  26 Jan 2017\r\n```\r\nOutput of \"docker version\"\r\n```\r\nClient:\r\n Version:      18.03.1-ce\r\n API version:  1.37\r\n Go version:   go1.9.5\r\n Git commit:   9ee9f40\r\n Built:        Thu Apr 26 07:12:48 2018\r\n OS/Arch:      windows/amd64\r\n Experimental: false\r\n Orchestrator: swarm\r\n\r\nServer:\r\n Engine:\r\n  Version:      18.03.1-ce\r\n  API version:  1.37 (minimum version 1.24)\r\n  Go version:   go1.9.5\r\n  Git commit:   9ee9f40\r\n  Built:        Thu Apr 26 07:21:42 2018\r\n  OS/Arch:      windows/amd64\r\n  Experimental: false\r\n```\r\nOutput of \"docker-compose config\"\r\n```\r\nERROR:\r\n        Can't find a suitable configuration file in this directory or any\r\n        parent. Are you in the right directory?\r\n\r\n        Supported filenames: docker-compose.yml, docker-compose.yaml\r\n\r\n## Steps to reproduce the issue\r\n\r\n1. Delete docker related system environment variables\r\n2. Re-install \"docker for windows\"\r\n3. Check system environment variables\r\n\r\n### Observed result\r\n\r\nNo system environment variables for docker\r\n\r\n### Expected result\r\n\r\nRestore system system environment variables for docker\r\n\r\n### Stacktrace / full error message\r\n\r\nSeverity\tCode\tDescription\tProject\tFile\tLine\tSuppression State\r\nError\t\tThe DOCKER_REGISTRY variable is not set. Defaulting to a blank string.\r\nBuilding server\r\nCreating dockercompose2577525810590707085_server_1 ... \r\nCreating dockercompose2577525810590707085_server_1 ... error\r\nERROR: for dockercompose2577525810590707085_server_1  Cannot create container for service server: invalid volume specification: '/c/Program Files (x86)/dotnet/sdk/NuGetFallbackFolder:c:\\.nuget\\fallbackpackages:ro'\r\nERROR: for server  Cannot create container for service server: invalid volume specification: '/c/Program Files (x86)/dotnet/sdk/NuGetFallbackFolder:c:\\.nuget\\fallbackpackages:ro'\r\nEncountered errors while bringing up the project..\r\n\r\nFor more troubleshooting information, go to http://aka.ms/DockerToolsTroubleshooting\tdocker-compose\tC:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\Sdks\\Microsoft.Docker.Sdk\\build\\Microsoft.VisualStudio.Docker.Compose.targets\t363\t\r\n\r\n```\r\n(if applicable)\r\n```\r\n\r\n## Additional information\r\n[Stackoverflow](https://stackoverflow.com/questions/51077809/docker-accidentally-delete-system-environment-variables)\r\nOS version / distribution, `docker-compose` install method, etc.\r\n"},"comment":{"url":"https://api.github.com/repos/docker/compose/issues/comments/401146653","html_url":"https://github.com/docker/compose/issues/6049#issuecomment-401146653","issue_url":"https://api.github.com/repos/docker/compose/issues/6049","id":401146653,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTE0NjY1Mw==","user":{"login":"shin-","id":1086876,"node_id":"MDQ6VXNlcjEwODY4NzY=","avatar_url":"https://avatars3.githubusercontent.com/u/1086876?v=4","gravatar_id":"","url":"https://api.github.com/users/shin-","html_url":"https://github.com/shin-","followers_url":"https://api.github.com/users/shin-/followers","following_url":"https://api.github.com/users/shin-/following{/other_user}","gists_url":"https://api.github.com/users/shin-/gists{/gist_id}","starred_url":"https://api.github.com/users/shin-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shin-/subscriptions","organizations_url":"https://api.github.com/users/shin-/orgs","repos_url":"https://api.github.com/users/shin-/repos","events_url":"https://api.github.com/users/shin-/events{/privacy}","received_events_url":"https://api.github.com/users/shin-/received_events","type":"User","site_admin":false},"created_at":"2018-06-28T19:28:33Z","updated_at":"2018-06-28T19:28:33Z","author_association":"MEMBER","body":"Also, this is unlikely to have anything to do with the environment variables - switching from Toolbox, which pretends everything (including paths) is UNIX to Docker Desktop that can rely on the built-in assumption that the host OS is Windows is what's causing the discrepancy."}}
{"actor":{"display_login":"shin-"}}