Error connecting to containers on remote host: mkdir: cannot create directory '/.vscode-remote-containers': Permission denied #8663
Labels
containers
Issue in vscode-remote containers
info-needed
Issue requires more information from poster
Hi,
I'm using dev containers extension in the following way:
My local machine is windows
I use vscode and SSH remote extension to connect to a Linux machine
On linux machine I have docker running several containers and I'm trying to connect to them with Dev Containers extension
This flow works well with the 0.266 version of Dev Containers extension, but fails with newer versions with this log:
I understand that the it tries to create the directory in the in / folder instead of
/home/smartweka
(it exists in the container, as does the smartweka user; the user and the group is the same on remote linux machine and in the container).I have tried to use devcontainer.json configuration for running images, and using
remoteContainer
andremoteUser
options, as well as settinguserEnvProbe
tonone
. None of these configuration is used, it seems.Any ideas how to solve this issue? How can I pass the user to the extension? Also, why is it trying to start wsl when I'm ssh'ed onto windows machine, and why the userEnvProbe is failing?
thank you
The text was updated successfully, but these errors were encountered: