{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Home/issues/1059","labels_url":"https://api.github.com/repos/aspnet/Home/issues/1059/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Home/issues/1059/comments","events_url":"https://api.github.com/repos/aspnet/Home/issues/1059/events","html_url":"https://github.com/aspnet/Home/issues/1059","id":115479803,"number":1059,"title":"dnu restore fails on Linux VM when building a docker image","user":{"login":"stefanrahnev","id":1030355,"avatar_url":"https://avatars.githubusercontent.com/u/1030355?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanrahnev","html_url":"https://github.com/stefanrahnev","followers_url":"https://api.github.com/users/stefanrahnev/followers","following_url":"https://api.github.com/users/stefanrahnev/following{/other_user}","gists_url":"https://api.github.com/users/stefanrahnev/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanrahnev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanrahnev/subscriptions","organizations_url":"https://api.github.com/users/stefanrahnev/orgs","repos_url":"https://api.github.com/users/stefanrahnev/repos","events_url":"https://api.github.com/users/stefanrahnev/events{/privacy}","received_events_url":"https://api.github.com/users/stefanrahnev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-06T10:37:09Z","updated_at":"2015-11-10T19:29:42Z","closed_at":null,"body":"I encounter NameResolutionFailure error when trying to restore the following NuGet packages when building a docker image on a Linux VM:\r\n\r\nGET https://www.nuget.org/api/v3/index.json\r\nRestoring packages for /app/project.json\r\n\r\nGET https://www.nuget.org/api/v3/FindPackagesById()?Id='Microsoft.AspNet.Mvc'.\r\nGET https://www.nuget.org/api/v3/FindPackagesById()?Id='Microsoft.AspNet.Server.Kestrel'.\r\nGET https://www.nuget.org/api/v3/FindPackagesById()?Id='Microsoft.AspNet.IISPlatformHandler'.\r\nGET https://www.nuget.org/api/v3/FindPackagesById()?Id='Microsoft.AspNet.StaticFiles'.\r\nWarning: FindPackagesById: Microsoft.Aspnet.Mvc\r\nError: NameResolutionFailure\r\nWarning: FindPackagesById: Microsoft.Aspnet.Server.Kestrel\r\nError: NameResolutionFailure\r\nWarning: FindPackagesById: Microsoft.Aspnet.IISPlatformHandler\r\nError: NameResolutionFailure\r\nWarning: FindPackagesById: Microsoft.Aspnet.StaticFiles\r\nError: NameResolutionFailure\r\n\r\nRestore failed.\r\nA task was cancelled.\r\n\r\nFeed used:\r\nhttps://www.nuget.org/api/v3/index.json\r\nThe command 'dnu restore' returned a non-zero code: 1\r\n\r\nnuget.org seems to be up and running. Can you advise, @davidfowl? Thanks.\r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/Home/issues/comments/155540347","html_url":"https://github.com/aspnet/Home/issues/1059#issuecomment-155540347","issue_url":"https://api.github.com/repos/aspnet/Home/issues/1059","id":155540347,"user":{"login":"vladimirivanoviliev","id":2195951,"avatar_url":"https://avatars.githubusercontent.com/u/2195951?v=3","gravatar_id":"","url":"https://api.github.com/users/vladimirivanoviliev","html_url":"https://github.com/vladimirivanoviliev","followers_url":"https://api.github.com/users/vladimirivanoviliev/followers","following_url":"https://api.github.com/users/vladimirivanoviliev/following{/other_user}","gists_url":"https://api.github.com/users/vladimirivanoviliev/gists{/gist_id}","starred_url":"https://api.github.com/users/vladimirivanoviliev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladimirivanoviliev/subscriptions","organizations_url":"https://api.github.com/users/vladimirivanoviliev/orgs","repos_url":"https://api.github.com/users/vladimirivanoviliev/repos","events_url":"https://api.github.com/users/vladimirivanoviliev/events{/privacy}","received_events_url":"https://api.github.com/users/vladimirivanoviliev/received_events","type":"User","site_admin":false},"created_at":"2015-11-10T19:29:42Z","updated_at":"2015-11-10T19:29:42Z","body":"Thanks for the suggestions. I just tried to run the VM on different network and the restore start working as expected. "}}