> can VSCode connect to a remote server and connect to remote docker containers?
Yes, it can. https://code.visualstudio.com/docs/remote/containers-advance... talks about setting it up.
Re:VSCode, Dev Containers and Docker
by gingerlime on Thursday January 21, 2021 @01:34PM
(#25862249)
Thank you! looks cool. Hope I’ll figure it out, considering I’m pretty clueless about VSCode
Yes. Vscode (server) is running on the remote machine. Extensions run on the remote as well.
A new terminal in vscode is a terminal on the remote.
Only the client GUI is local.
Re:VSCode, Dev Containers and Docker
by gingerlime on Friday January 22, 2021 @06:17AM
(#25870655)
Thank you. I managed to get it working... still I'm not sure about things like ruby-rubocop ... I can install it remotely, but not inside a remote docker container (where my ruby runs)... Any tips?
For example, I don't have ruby installed on the remote dev box, but it is installed inside docker on the remote host. I also don't have ruby or docker running locally.
I think all the linting plugins either expect ruby to be available on the remote host, or inside docker, but not this combo... Is there something I'm missing? (disclaimer: only played a bit with VScode, I use vim on the remote box usually).