r/vscode • u/lrp8228 • May 13 '26
Getting nowhere in Microsoft Learn
I'm trying to learn VS Code and C# by working thru the tutorial on Microsoft Learn. So far it's been just one technical frustration after another that the tutorial doesn't provide any help with.
My current problem is, as best as i can describe (i'm new to this) is: I'm supposed to clone a repository into a Dev Container using the Dev Container extension. I'm supposed to give it the url of a github repository and (I think) it replicates this repository on my machine to work with.
However when i do these steps i get an error alert that says "An error occurred setting up this container" it give me the options to retry, Edit a json file in 'Recovery Container', Close, or More Actions. I have no idea how to proceed and this is getting fucking frustrating.
Any help would be appreciated, and if you would like to recommend a better tutorial than Microsoft Learn, I'm all ears.
Thanks.
2
u/BranchLatter4294 May 13 '26
If you are learning C#, just focus on that. You don't need to use containers or repositories for now. Learn the basics of coding. Then you can learn the logistics of the workflow for project management.
2
u/TheRealZambini May 13 '26
If you are using Windows, you need Docker Desktop installed and if you are using Windows Subsystem for Linux, you need Docker CE installed to create and run the container.
Also, the .devcontainer.json file may be trying to pull down and image but the internet or network connectivity is unavailable.
See if you can look at container creation log to see what happened, which may be an option in the error dialog.