title: How to run .net project in docker container?
body: <p>I have a project written in .net, I created a dockerfile and docker-compose files with visual studio. These are my steps: <strong>solution explorer&gt;right click on project name&gt; add &gt;container Orchestrator Support</strong>.</p>
  <p>I try to build but I keep getting the same error. How can I solve this? Why is happening? What is the right way to open a project with docker</p>
  <p>When I try to do <code>docker build .</code>
  I got this error:</p>
  <pre><code>failed to solve with frontend dockerfile.v0: failed to create LLB definition: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
  </code></pre>
  <p>Here my autogenerated Dockerfile:</p>
  <pre><code>FROM microsoft/aspnet
  ARG source
  WORKDIR /inetpub/wwwroot
  COPY ${source:-obj/Docker/publish} .
  </code></pre>
  <p>Here my autogenerated docker-compose.yml file:</p>
  <pre><code>
  services:
    educationwebsite:
      image: ${DOCKER_REGISTRY-}educationwebsite
      build:
        context: .\EducationWebSite
        dockerfile: Dockerfile
  </code></pre>