Questions tagged [vscode-remote]

Visual Studio Code Remote Development allows you to use a container, remote machine, or the Windows Subsystem for Linux (WSL) as a full-featured development environment

Visual Studio Code Remote Development allows you to use a container, remote machine, or the Windows Subsystem for Linux (WSL) as a full-featured development environment

868 questions
4
votes
2 answers

Visual Studio Code Unable to ssh using the remote extension anymore error code 255

I have been having this problem since last week. The remote extension worked before this. When, I try to ssh I get this pop up error: The terminal process "C:\WINDOWS\System32\cmd.exe /c (type "C:\Users
Waseem Khan
  • 41
  • 1
  • 3
4
votes
1 answer

VS Code remote ssh missing GLIBCXX and GLIBC

I am trying to use the remote development via ssh feature of VS Code. When connecting to the remote server I encounter: Missing GLIBCXX >= 3.4.18! >Found versions 3.4.1 > 3.4.2 > ... > 3.4.13 Missing GLIBC >= 2.17! Found version ldd (GNU libc)…
operator
  • 155
  • 2
  • 7
4
votes
1 answer

vscode cant ssh connect "The process tried to write to a nonexistent pipe"

I am able to ssh on my windows 10 computer using ubuntu subsystem when I run the command: /mnt/c/Users/marti/Downloads$ sudo ssh -i credfile.pem ec2-user@3.333.33.333 Where I have a file located at /mnt/c/Users/marti/Downloads/credfile.pem I am…
Martin
  • 1,336
  • 4
  • 32
  • 69
4
votes
2 answers

Can't connect remotely using Remote-SSH: "spawn UNKNOWN"

I'm trying to remotely connect to a server (running on Ubuntu 16.04.7 LTS) through VSCode (started on WSL). I've set the path to my WSL Config file (with the SSH keys inside) in VSCode Remote-SSH. I can reach and connect to the server through the…
user452306
  • 139
  • 4
  • 9
4
votes
1 answer

Need to restart wsl everytime after Windows start before using vscode-remote

I'm running Windows 10 with WSL2. I'm using VSCode with the Remote - WSL extension to open the files from my wsl file system. When I boot my Windows laptop, and open VSCode I get the following error: When I perform a wsl.exe --shutdown in…
Levissie
  • 181
  • 1
  • 3
  • 12
4
votes
0 answers

Extesnions not installed in Containers in VS code insiders

I have a .devcontainer file that pulls a docker image and installs extensions. However, the extensions are only get installed in VS Code NOT VS Code Insiders. I was wondering if anyone can help me with that. VS Code Insiders, no extension…
4
votes
1 answer

vscode devcontainer "postCreateCommand": "alias 'll=ls -alF'"

I am using a default MS configuration (in Visual Studio Code -> "Remote-Container: Add Development Container Configuration Files...") and added the following to the .devcontainer/devcontainer.json "postCreateCommand": "alias ll='ls -alF'" Using the…
BadAtLaTeX
  • 614
  • 1
  • 9
  • 22
4
votes
2 answers

How to set the environmental variables when starting vscode-remote-containers from within vscode-remote-WSL?

To build my remote environment I need several environmental variables to be set (they are used in the docker-compose file). These are set in my ZSH environment, so running docker-compose build works as expected from the terminal. However these…
Thijs D
  • 762
  • 5
  • 20
4
votes
3 answers

Docker in Docker setup with VSCode Dev Containers: How to access running docker containers on the host machine

I am using VSCode dev containers as a golang development environment using the default golang image. I added the following snippet to the Dockerfile to download the Docker CLI: # Add Docker RUN apt-get update \ && apt-get -y install…
Blokje5
  • 4,763
  • 1
  • 20
  • 37
4
votes
2 answers

Docker VS code remove devcontainer

Every time when I try open my code in a devcontainer I receive this error: [2020-04-12T17:35:08.489Z] [PID 4968] [22748 ms] Start: Run: docker ps -q -a --filter label=com.docker.compose.project=nodejs-express-jwt_devcontainer --filter…
4
votes
3 answers

Is there a way to open a folder in a container from the VSCode command line using the remote-containers extension?

I have created a .devcontainer/devcontainer.json file in the root of my source tree. But, is there something I can specify on the command line to automatically open the specified folder in that container? Or at least open up vscode within the…
user2533302
  • 73
  • 1
  • 5
4
votes
0 answers

How can an extension obtain remote URL of file in currently connected remote server?

I'm writing an extension targeted for VSCode Remote environment. In this setup, one extension (UI extension) runs in client and another (workspace extension) runs in remote server. Now, here's a question - is there any way to generate an URL that…
4
votes
1 answer

How can I open VS code "in container" without it restarting itself and losing shell settings when "Reopen in container" is invoked?

I have a development use-case where I use a script to configure a shell with docker-machine or other environment and then open a directory containing source and settings (/.vscode/, .devcontainer/) that I can edit/build/debug in the VS code Remote…
Ani
  • 10,826
  • 3
  • 27
  • 46
4
votes
2 answers

VSCode C/C++ Remote Development - Syntax Highlighting Colors Not Working

I am doing remote development on a Linux machine using VSCode Remote-SSH. I have installed the C/C++ extension on the remote machine via VSCode. Most code does get syntax highlighting correct but I noticed some issues. C structures are not colored…
Austen Stone
  • 948
  • 1
  • 10
  • 21
4
votes
3 answers

VSCode: Using dev container remotely without local installation of docker

Currently, I have: a desktop with low system specs, Windows 7 Pro (without Admin Rights), without docker. a Virtual Machine with Centos7, and docker installed. On my desktop, I can either use: my local installation of VSCode, and Remote - SSH to…
SpacePotatoes
  • 659
  • 5
  • 11