microsoft / Windows-Containers

Welcome to our Windows Containers GitHub community! Ask questions, report bugs, and suggest features -- let's work together.
MIT License
426 stars 64 forks source link

ProjFS on containers? #523

Open dsopscak opened 3 months ago

dsopscak commented 3 months ago

We're looking into running Visual Studio based builds in a windows container. Several workloads depend on a testing component which depends on the windows feature "client-projfs". Our visual studio install fails on the servercore:ltsc2019 base image trying to enable that feature. I've seen indications that ProjFS is not supported on windows containers. Is this still the case? If so, is support for ProjFS anticipated any time soon?

ntrappe-msft commented 2 months ago

@dsopscak Just to confirm, was it that installing Visual Studio failed because of a ProjFS package? You should be able to install Visual Studio Build Tools inside a Windows Server Core 2022 container. And I'd recommend doing this with 2022 as long-term support for 2019 has ended.

dsopscak commented 2 months ago

We're trying to install several workloads using vs_enterprise.exe. Three of those, including the .net asp web and desktop workloads, appear to depend on ProjFS and the installation fails when trying to enable that feature. We're trying to quickly replicate the setup we're using on VM-based build agents. Looking ahead, we'll be creating more, finely tuned containers with the tools intended for headless use, but hoped to get something up quickly to use with an existing build process.

ntrappe-msft commented 1 month ago

@vrapolinario @thecloudtaylor @fady-azmy-msft Would you know about whether this use case is supported?

vrapolinario commented 1 month ago

I can't speak for ProjFS itself, but I'd guess it's looking for something in the OS that is not present. @dsopscak can you please provide the full error you are seeing? Also, have you tried this process with the server image versus the server core one?

microsoft-github-policy-service[bot] commented 1 week ago

This issue has been open for 30 days with no updates. no assignees, please provide an update or close this issue.