Visual Studio Code not displaying docker files after attaching to a container

Viewed 607

I am trying to attach visual studio code to a running container, and it does show successfully attached. However it does not show any files in the file explorer

File explorer empty after attaching to a container

The bash command line also works fine and lists all the files. I wanted to open the files installed on the container in VS code.

1 Answers

It was a stupid wsl issue.

Running wsl --shutdown and wsl afterwards fixed the issue for me

Related