THE YOGOVO
THE YOGOVO

Reputation: 149

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

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.

Upvotes: 5

Views: 3145

Answers (1)

THE YOGOVO
THE YOGOVO

Reputation: 149

It was a stupid wsl issue.

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

Upvotes: 1

Related Questions