title: Docker Pull Access Denied for Repository does not exist or login required
body: <p>I want to place the existing web api inside the docker container. I added the Docker file through visual studio.</p>
  <p>The application build is successful. But when I try to run the docker. It doesn't provide any information.</p>
  <p>The docker repository is created</p>
  <p><a href="https://i.stack.imgur.com/4c1Iq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4c1Iq.png" alt="enter image description here" /></a></p>
  <p>when i run the below cmd it executes and doesn't throw any error</p>
  <p><a href="https://i.stack.imgur.com/PtD3O.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PtD3O.png" alt="enter image description here" /></a></p>
  <p>The IOswagger is my application image.</p>
  <p>When I run the image without the tag. The command automatically takes the tag of another image and it throws an error saying the repository doesn't exists.</p>
  <p><a href="https://i.stack.imgur.com/lP8D5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lP8D5.png" alt="enter image description here" /></a></p>
  <p>In the docker the image is running.
  <a href="https://i.stack.imgur.com/q5Q6A.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/q5Q6A.png" alt="enter image description here" /></a></p>
  <p>Docker FIle :</p>
  <pre><code>#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
  
  #Depending on the operating system of the host machines(s) that will build or run the containers, the image specified in the FROM statement may need to be changed.
  #For more information, please see https://aka.ms/containercompat
  
  FROM mcr.microsoft.com/dotnet/core/aspnet:3.0-nanoserver-1903 AS base
  WORKDIR /app
  EXPOSE 80
  
  FROM mcr.microsoft.com/dotnet/core/sdk:3.0-nanoserver-1903 AS build
  WORKDIR /src
  COPY [&quot;aspnetcore-server/src/IO.Swagger/IO.Swagger.csproj&quot;, &quot;aspnetcore-server/src/IO.Swagger/&quot;]
  
  
  RUN dotnet restore &quot;aspnetcore-server/src/IO.Swagger/IO.Swagger.csproj&quot;
  COPY . .
  
  WORKDIR &quot;/src/aspnetcore-server/src/IO.Swagger&quot;
  RUN dotnet build &quot;IO.Swagger.csproj&quot; -c Release -o /app/build
  
  FROM build AS publish
  RUN dotnet publish &quot;IO.Swagger.csproj&quot; -c Release -o /app/publish
  
  FROM base AS final
  WORKDIR /app
  COPY --from=publish /app/publish .
  ENTRYPOINT [&quot;dotnet&quot;, &quot;IO.Swagger.dll&quot;]
  </code></pre>
  <p>When I try to build the application using docker it fails. The build is failed by throwing &quot;Command failed with exit code 1&quot;</p>
  <p>I don't know how to proceed further. Not sure whether my application is even running or not.</p>