microsoft / vscode-remote-release

Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
https://aka.ms/vscode-remote
Other
3.61k stars 275 forks source link

Unable to modify default docker repository #10189

Open Bpc-CPU opened 2 weeks ago

Bpc-CPU commented 2 weeks ago

Type: Performance Issue

I'm a Chinese users. And I thanks here for you and your wonderful extension. But I have got a problem when I use this to install docker automatically in WSL2. Because I'm in China, so I can't connect to docker.com ( even with the best luck, the download speed is slow ). So I need mirror repository for docker downloading. I try to modify the /etc/apt/sources.list.d/docker.list, but before the command "apt update" running, the "devcontainers" extension always modifies the "docker.list" to the default repository url. In the end, I have no way but to install the docker programs by myself in the command line. I hope you can fix it.

Extension version: 0.380.0 VS Code version: Code 1.92.2 (fee1edb8d6d72a0ddff41e5f71a671c23ed924b9, 2024-08-14T17:29:30.058Z) OS version: Windows_NT x64 10.0.22631 Modes:

Bpc-CPU commented 2 weeks ago

? I'm installing docker but not the gcc.

Bpc-CPU commented 2 weeks ago

I think we're talking about the file saved docker's mirror respository url is changed automatically by the extension.

MitchBomcanhao commented 2 weeks ago

? I'm installing docker but not the gcc.

you're replying to a bot spreading viruses

Bpc-CPU commented 2 weeks ago

? I'm installing docker but not the gcc.

you're replying to a bot spreading viruses

ok, I see