vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

Add ability to change location of .vscode-remote-containers

Open ntadej opened this issue 2 years ago • 10 comments

I can't find a way to change location of .vscode-remote-containers as I do not want it in my home folder. Is there any way to change it and if not, can this be added?

ntadej avatar Feb 09 '24 08:02 ntadej

it would indeed be super useful to be able to change this location and configure like the vscode server install path the location of the remote containers

prudhomm avatar Mar 05 '24 08:03 prudhomm

Which sub-extension is even responsible for this folder? Is it the dev containers one? I'm not using dev containers at all. Why is this file being created and downloaded by default when nothing is configured?

In any case, whatever extension that is using it in this pack needs something akin to remote.SSH.serverInstallPath On the remote, writes into $HOME are extremely slow, so I set this to a different directory. Why does vscode try to extract this tarball every time?

bavalpey avatar Jun 14 '24 19:06 bavalpey

+1

as workaround I'm using the following on the remote server:

$ mkdir -p /path/to/desired/location/.vscode-server
$ mkdir -p /path/to/desired/location/.vscode-remote-containers
$ rm -rf ${HOME}/.vscode-server
$ rm -rf ${HOME}/.vscode-remote-containers
$ ln -s /path/to/desired/location/.vscode-server/ ${HOME}/.vscode-server
$ ln -s /path/to/desired/location/.vscode-remote-containers/ ${HOME}/.vscode-remote-containers

lumean avatar Jun 28 '24 09:06 lumean