This content has 3 years. Some of the information in this post may be out of date or no longer work. Please, read this page keeping its age in your mind.

If you are facing the issue with the following error:

CTC1014	Docker command failed with exit code 1.
The command 'cmd /S /C dotnet restore "projectname.csproj"' returned a non-zero code: 1

Ensure that you have selected Debug mode instead of Release.