for-win icon indicating copy to clipboard operation
for-win copied to clipboard

sconfig hangs in windowsservercore

Open douglaswaights opened this issue 10 years ago • 9 comments

Hi,

Expected behavior

sconfig brings up the interface and options as expected

Actual behavior

In a running windowservercore container typing sconfig causes the system to hang on inspecting system and never shows the options...

Information

I'm running on Windows 10 anniversary edition the imageid is f20579da8e4e The reason for using sconfig is to try and install the latest windows updates so i can try and fix https://github.com/docker/for-win/issues/124

Steps to reproduce the behavior

docker run -it microsoft/windowsservercore powershell sconfig

Thanks Doug

douglaswaights avatar Oct 05 '16 08:10 douglaswaights

@patricklang can you confirm. I don't think this is expected to work.

lowenna avatar Oct 05 '16 18:10 lowenna

Yeah, I don't think it's expected to work.

friism avatar Oct 05 '16 18:10 friism

OK thanks for the replies, so how then do i do a windows update for a running servercore container with regards #124 ?

Thanks Doug

douglaswaights avatar Oct 05 '16 18:10 douglaswaights

Sorry for the slow response here. @friism just pinged me again on this today and I got some more info

@douglaswaights - all of Microsoft's fixes will come down in a Windows Update package on the host machine, in an updated container image such as microsoft/windowsservercore, or both depending on the fix. You shouldn't need to run sconfig/wusa/other tools in the container to get a fix inside the container.

If you need to patch a container later because you can't rebuild off the latest microsoft/windowsservercore image for some reason such as not having the original Dockerfile and binaries - we're working on a solution for that and will share it on the Windows Container doc site when its available.

PatrickLang avatar Oct 18 '16 00:10 PatrickLang

@PatrickLang thanks for the details

@douglaswaights I'm closing this issue, as I think your question is answer. Please re-open if this is not the case.

thanks for reporting

rn avatar Oct 18 '16 07:10 rn

Thanks for the update! Doug

douglaswaights avatar Oct 18 '16 11:10 douglaswaights

How do we solve problems with latest containers not being able to install stuff like build_tools in the latest version and have to wait for no fixed dates for the release with latest patches? Or where can i follow the news and dates of release?!!

wickstargazer avatar Sep 02 '17 16:09 wickstargazer

Just as a matter of interest does anyone (preferably Microsoft) have a version of the sconfig.vbs script that doesn't do stupid things like "popping up a msgbox if it's running on docker".

rdebath avatar May 23 '18 07:05 rdebath

Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked

docker-robott avatar Jun 18 '20 03:06 docker-robott