title: dotnet publish “Unable to load the service index for source https://api.nuget.org/v3/index.json”
body: <p>I am getting error :  </p>
  
  <blockquote>
    <p>Unable to load the service index for source
    <a href="https://api.nuget.org/v3/index.json" rel="nofollow noreferrer">https://api.nuget.org/v3/index.json</a></p>
  </blockquote>
  
  <p>with <strong>dotnet publish</strong></p>
  
  <p>I am trying to deploy docker base asp.net core solution from <strong>visual studio 2017</strong>
  with <strong>Amazon Tool Kit</strong> to <strong>AWS ECS</strong>.</p>
  
  <p>I found several links but those do not work for me.</p>
  
  <p>I tried by restarting docker service and Visual Studio also.</p>