OS: Win 11 x64 (DevBox machine)
Build Version: 20260807.1
Repro Steps:
- Open a Django project django_project.zip in VS Code.
- Add Docker files.
- Right-click the Dockerfile and execute "Build Image..." command.
- Wait for the image build process to complete.
Expect:
The Docker image builds successfully.
Actual:
The image build fails during dependency installation.

More Info:
- A Windows Security notification is displayed during building the image.

- The same package can be installed successfully on the host machine using
python -m pip install django==5.0.1.
- This issue also reproduces for Flask project.
- The host machine is configured to use an approved package feed, while the Docker build appears to access files.pythonhosted.org directly.
- It is unclear whether this is an environment restriction or compatibility/onboarding gap, but the generated Docker image cannot be built successfully in this scenario.
OS: Win 11 x64 (DevBox machine)
Build Version: 20260807.1
Repro Steps:
Expect:
The Docker image builds successfully.
Actual:

The image build fails during dependency installation.
More Info:
python -m pip install django==5.0.1.