You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem description:
I am trying to start, from an Ubuntu terminal, a VScode connected to a Docker container called test6. Whenever I run the command
code --folder-uri "vscode-remote://attached-container+test6/app/jsa"
the error described in FIGURE 1 attached is displayed when opening VScode.
If I try to access the test6 container through the VScode graphical interface (with the Docker and Dev Containers extensions) using Attach Visual Studio Code, the connection occurs correctly. The failure only exists when I try to access the VScode connected to the test6 container through the Ubuntu terminal.
FIGURE 2 shows the extensions that I currently have installed in VScode.
The question:
What command can I use to correctly open a VScode connected to a Docker container via the UBUNTU terminal?
Logs:
Log displayed in the VScode terminal opened after running the command <code --folder-uri "vscode-remote://attached-container+test6/app/jsa"> in the Ubuntu terminal:
[36 ms] Dev Containers 0.388.0 in VS Code 1.95.1 (65edc4939843c90c34d61f4ce11704f09d3e5cb6).
[36 ms] Start: Resolving Remote
[45 ms] TypeError: Cannot read properties of undefined (reading 'parentAuthority')
at /home/jsa/.vscode/extensions/ms-vscode-remote.remote-containers-0.388.0/dist/extension/extension.js:372:2432
at pB.d (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:155:32201)
at pB.withProgress (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:155:32067)
at Object.withProgress (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:156:47584)
at BEe (/home/jsa/.vscode/extensions/ms-vscode-remote.remote-containers-0.388.0/dist/extension/extension.js:372:2312)
at aZ (/home/jsa/.vscode/extensions/ms-vscode-remote.remote-containers-0.388.0/dist/extension/extension.js:372:2111)
Steps to Reproduce:
Vscode installed via apt command with .deb file.
Install the following extensions in VScode: Docker v1.29.3 and Dev Containers v0.388.0
jsa@dellg7:/$ docker start test6 test6
jsa@dellg7:/$ docker psCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
7956bae7845c nvcr.io/nvidia/pytorch:22.01-py3 "/opt/nvidia/nvidia_…" 47 hours ago Up 4 seconds 6006/tcp, 8888/tcp, 0.0.0.0:2222->22/tcp, [::]:2222->22/tcp test6
Problem description:
I am trying to start, from an Ubuntu terminal, a VScode connected to a Docker container called test6. Whenever I run the command
code --folder-uri "vscode-remote://attached-container+test6/app/jsa"
the error described in FIGURE 1 attached is displayed when opening VScode.
If I try to access the test6 container through the VScode graphical interface (with the Docker and Dev Containers extensions) using Attach Visual Studio Code, the connection occurs correctly. The failure only exists when I try to access the VScode connected to the test6 container through the Ubuntu terminal.
FIGURE 2 shows the extensions that I currently have installed in VScode.
The question:
What command can I use to correctly open a VScode connected to a Docker container via the UBUNTU terminal?
1.95.1
65edc4939843c90c34d61f4ce11704f09d3e5cb6
x64
Log displayed in the VScode terminal opened after running the command <code --folder-uri "vscode-remote://attached-container+test6/app/jsa"> in the Ubuntu terminal:
[36 ms] Dev Containers 0.388.0 in VS Code 1.95.1 (65edc4939843c90c34d61f4ce11704f09d3e5cb6).
[36 ms] Start: Resolving Remote
[45 ms] TypeError: Cannot read properties of undefined (reading 'parentAuthority')
at /home/jsa/.vscode/extensions/ms-vscode-remote.remote-containers-0.388.0/dist/extension/extension.js:372:2432
at pB.d (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:155:32201)
at pB.withProgress (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:155:32067)
at Object.withProgress (file:///usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:156:47584)
at BEe (/home/jsa/.vscode/extensions/ms-vscode-remote.remote-containers-0.388.0/dist/extension/extension.js:372:2312)
at aZ (/home/jsa/.vscode/extensions/ms-vscode-remote.remote-containers-0.388.0/dist/extension/extension.js:372:2111)
Steps to Reproduce:
7956bae7845c nvcr.io/nvidia/pytorch:22.01-py3 "/opt/nvidia/nvidia_…" 47 hours ago Up 4 seconds 6006/tcp, 8888/tcp, 0.0.0.0:2222->22/tcp, [::]:2222->22/tcp test6
Does this issue occur when you try this locally?: Yes
Does this issue occur when you try this locally and all extensions are disabled?: Yes
FIGURE 1 - Error in vscode window.
FIGURE 2 - The my extensions, in the moment:
The text was updated successfully, but these errors were encountered: