chocolatey / chocolatey/choco

Support Windows Nano Server

Open
#1,371 19 comments 15 reactions 0 assignees View on GitHub
0 - Backlog 0 - Triaging CoreTeam Enhancement
Dominant language
C#
Stars
11.5k
Forks
960
PR merge metrics
No merged PRs in 30d

Description

The chocolatey install (install.ps1) does not work with NanoServer image for Docker, mainly because WebClient is not supported. A workaround would be to use Invoke-WebRequest instead.
See: https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-docker/manage-windows-dockerfile

I'm still trying to install it by hand and let you know if there are other problems.

Contributor guide

Open the contributing guide

Research direction

Start with install.ps1 and the linked Windows container guidance; reproduce the Chocolatey installation in a Windows Nano Server Docker image and inspect the WebClient dependency. Done means the install completes successfully on Nano Server without relying on unsupported WebClient behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, powershell
Domain
devops, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.