microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
160.78k stars 28.18k forks source link

MAJOR BUG VSCODE automatic instance restart on reboot corrupt because VSCODE auto update prompts "Docker update" when in fact it is Docker Desktop NOT Docker! #181410

Closed KonanTheLibrarian closed 1 year ago

KonanTheLibrarian commented 1 year ago

Type: Bug

MAJOR BUG: At reboot VSCODE once worked to restore 2 or 3 VSCODE instances: VSCODE WSL2 + Terminal + edit sessions, VSCODE docker Container + Terminal + edit sessions inside the container and VSCODE Normal Windows Developer project. VSCODE auto update attempted to install/update "Docker" that turned out to be NOT Docker but Docker Desktop! Oops!

My Environment: Install VSCODE and WSL2 with Ubuntu 22 without Docker Desktop (good blogs exist for this because WSL2 runs 3x faster without Docker Desktop and Docker Desktop google shows 6.8 million reports of malware, crashes and data loss down to Docker Desktop and angry users losing all data). WSL2 and Docker and VSCODE integrate beautifully without Docker Desktop runs 3x faster and is stable. Use native Docker with WSL2 not Docker Desktop switching to newer Ubuntu 22.?? Create and run VSCODE and also start VSCODE with views into a container. Install WSL2 plugins as needed. Sadly some time later VSCODE update attempts to do an unexpected update stating it is "updating Docker" (which is a lie so you say yes new "Docker" but the next screen pops up installing Docker Desktop ... hiding the fact that in fact it is Docker Desktop update NOT Docker which is strongly known to be very bad and unstable crashing out to lose ALL your data). The update fails as it is running native Docker, but corrupts the system so containers no longer restart from VSCODE at reboot. Disrespect is extreme as VSCODE auto update pretends Docker Desktop is Docker calling it Docker! Naturally we need up-to-date Docker but do not wish instability from something called Docker that is NOT Docker but bloatware that can't integrate or sync with a wet paper bag.

Containers will start manually using docker start and are visible in VSCODE and are usable. Restart now spews these errors on the VSCODE Container instance every 1 min. [2235762 ms] Extensions cache, remote removals: None [2239171 ms] Start: Run in Host: docker exec -i -u dude:dude -w /home/dude/.vscode-server/data/Machine 62152b50150b6e0774741ca633d94af49c686f4f2d9fa25171ec4be00679b7e7 /bin/sh -c # Watch machine settings [2239177 ms] Start: Run in Host: docker exec -i -u dude:dude -w /home/dude/.vscode-server/extensions 62152b50150b6e0774741ca633d94af49c686f4f2d9fa25171ec4be00679b7e

VS Code version: Code 1.77.3 (704ed70d4fd1c6bd6342c436f1ede30d1cff4710, 2023-04-12T09:16:02.548Z) OS version: Windows_NT x64 10.0.19045 Modes: Sandboxed: No Remote OS version: Linux x64 5.10.16.3-microsoft-standard-WSL2 Remote OS version: Linux x64 5.10.16.3-microsoft-standard-WSL2

System Info |Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (8 x 1690)| |GPU Status|2d_canvas: enabled
canvas_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_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|undefined| |Memory (System)|15.41GB (4.37GB free)| |Process Argv|| |Screen Reader|yes| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu-22.04| |OS|Linux x64 5.10.16.3-microsoft-standard-WSL2| |CPUs|11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (2 x 1689)| |Memory (System)|5.80GB (4.82GB free)| |VM|0%| |Item|Value| |---|---| |Remote|Container dev42:Tim (scan3_alpha)| |OS|Linux x64 5.10.16.3-microsoft-standard-WSL2| |CPUs|11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (2 x 1689)| |Memory (System)|5.80GB (4.82GB free)| |VM|0%|
Extensions (5) Extension|Author (truncated)|Version ---|---|--- jupyter-keymap|ms-|1.1.0 remote-containers|ms-|0.288.1 remote-wsl|ms-|0.77.0 makefile-tools|ms-|0.7.0 powershell|ms-|2023.3.3
joaomoreno commented 1 year ago

VSCODE update attempts to do an unexpected update stating it is "updating Docker"

Can you show me a screenshot of this specifically?

VSCodeTriageBot commented 1 year ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!