Isaac Sim: VSCode cannot be accessed from docker container

Hi, I’m working with Isaac Sim via a docker container in an Azure VM, running it through a WebSocket livestream, and I’m trying to access the source code of this tutorial: 2. Isaac Sim Workflows — Omniverse Robotics documentation

However, I’m running into the following error when clicking on the “Open Source Code” button:

/bin/sh: 1: code: not found
2022-02-09 13:08:38 [27,206ms] [Warning] [omni.isaac.ui.callbacks] Could not open in VSCode. See Troubleshooting help here: https://code.visualstudio.com/docs/editor/command-line#_common-questions

In the attached image you can see the result that I get in the WebSocket livestream. Does someone know how to fix this issue?
Note that I have VSCode installed and it’s already added to the PATH in my environment variables.

Hi, I am not sure if the “Open Source Code” button will work in a headless environment like Azure VM.

I would recommend connecting to the remote container via SSH tunneling and using a local VSCode. This will enable changing of code via hot-loading. This method is still limited and may not work for all cases in the Tutorials. We recommend following the Tutorials on a native run of Isaac Sim.

See Connect to Docker engine running on a remote machine