Hi Kid Kai,
From your question we understand that you were unable to complete the exercise by following the steps mentioned in the Unit. As you were unable to build the Codespace because of this error in Dockerfile:
“FROM mcr.microsoft.com/devcontainers/dotnet:6.0”
We have tried and found the same error. Later we changed the dockerfile in “FROM” instruction to “FROM mcr.microsoft.com/devcontainers/dotnet:6.0-bullseye” as per the reference file shared by you and we were able to successfully build the Codespace as shown:
If the information is helpful, please accept the answer by clicking the "Upvote" and "Accept Answer" on the post.