docker-winserver
Categories:
GitLab: c2platform/rws/docker-winserver
FROM microsoft/windowsservercore:latest
RUN powershell.exe -Command
wget https://raw.githubusercontent.com/ansible/ansible/devel/examples/scripts/ConfigureRemotingForAnsible.ps1
-Outfile c:\remoting.ps1;
powershell.exe -ExecutionPolicy ByPass -File c:\remoting.ps1 -EnableCredSSP;
$password = ConvertTo-SecureString “Supersecure” -AsPlainText -Force;
Set-LocalUser -Name administrator -Password $password;
Enable-LocalUser -Name “Administrator”;
Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
EXPOSE 5986
Feedback
Was deze pagina nuttig?
Fijn om te horen! Vertel ons alstublieft hoe we kunnen verbeteren.
Jammer om dat te horen. Vertel ons alstublieft hoe we kunnen verbeteren.
Laatst gewijzigd 2024.11.11: nl gitlab projects (8ef2e3d)