Reputation: 2013
I'm using VSCode (1.52.1) for a while on my Fedora 33 machine. I'm using Docker extension (v1.9.0) but for some reason, in the past few days when I'm trying to attach the VSCode to the Docker container, it failed to resolve the workspace folder.
I've tried to reinstall VSCode and the Docker extension but it did not help
I think this issue is related
As you can see, the files explorer does not show any files, instead, it shows a hash-like string.
Upvotes: 2
Views: 1244
Reputation: 2013
Accourding to this vs-code issue
You might have had that folder open before and it now no longer exists. Can you use File > Open Folder to open a different folder in the container?
All you need to do is go to
File --> Open Folder
in the top menu
open the wanted folder and that it.
That worked for me
Upvotes: 2