Open PythonCoderAS opened 3 days ago
Please append the Dev Containers log from when this happens. (F1
> Dev Containers: Show Container Log
)
These are all the logs I could get:
dev-container-remote-host-container.txt dev-container-remote-host.txt
Type: Bug
I have a docker-compose file running a dind docker daemon container and an Alpine-Linux based vscode server tunnel container. On the vscode server tunnel, I am running a container with a simple shell (which is sleeping). However, trying to attach to the simple shell container while inside the vscode tunnel causes the following error to happen:
Upon further investigation, this is because the Dev Container extension downloads a glibc-based node binary, which will not run on the Alpine vscode tunnel host.
Repro
Make a directory.
Inside of the directory, make a file called
Dockerfile
with the contents:Make a file in the same directory called
docker-compose.yml
with the contents:In the directory, open a terminal session and run
docker compose up -d
. Afterwards, rundocker compose logs --follow vscode-server
, and register the new tunnel.Once the tunnel is registered, connect to it using the VSCode Desktop app, and open a terminal on the tunnel. In it, run:
Open the Docker panel, and try to attach to this Alpine container. This causes the bug.
Extension version: 0.387.0 VS Code version: Code 1.93.1 (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z) OS version: Darwin x64 23.5.0 Modes: Remote OS version: Linux x64 6.8.0-41-generic Connection to 'attached-container+7b22636f6e7461696e65724e616d65223a222f726f6d616e7469635f63616e6e6f6e222c2273657474696e6773223a7b22686f7374223a227463703a2f2f646f636b65723a32333735227d7d@tunnel+36f9c4694405' could not be established
System Info
|Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz (4 x 3600)| |GPU Status|2d_canvas: enabledcanvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|4, 4, 4| |Memory (System)|32.00GB (2.35GB free)| |Process Argv|--crash-reporter-id 38cb80a1-7ebb-4254-8585-2bdd58f3f3c3| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|isolated-development| |OS|Linux x64 6.8.0-41-generic| |CPUs|Intel(R) Xeon(R) Silver 4216 CPU @ 2.10GHz (64 x 800)| |Memory (System)|187.52GB (178.27GB free)| |VM|0%| Connection to 'attached-container+7b22636f6e7461696e65724e616d65223a222f726f6d616e7469635f63616e6e6f6e222c2273657474696e6773223a7b22686f7374223a227463703a2f2f646f636b65723a32333735227d7d@tunnel+36f9c4694405' could not be established
A/B Experiments
``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805:30301674 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 a9j8j154:30646983 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonnoceb:30805159 asynctok:30898717 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 jg8ic977:31013176 a69g1124:31058053 dvdeprecation:31068756 dwnewjupyter:31046869 impr_priority:31102340 nativerepl1:31139838 refactort:31108082 pythonrstrctxt:31112756 flighttreat:31134774 wkspc-onlycs-t:31132770 wkspc-ranged-c:31125598 cf971741:31144450 autoexpandse:31146404 ei213698:31121563 iacca2:31144504 notype1cf:31143046 5fd0e150:31146321 ```