Default username / password for docker Windows Server 2016

Is there a default user / password that uses the microsoft / windowsservercore base image?

+4
source share
2 answers

I had the same problem when I used microsoft / iis image. You can connect through IIS Manager, but you are forced to enter a password because the "empty" is not valid. so what i did with both docker images was this: i added admin user

RUN NET USER testing "Password01!" /ADD
RUN NET LOCALGROUP "Administrators" "testing" /ADD

hope this helps you using this method for many docker images

+2
source

Enter-PSSession with -RunAsAdministrator, get-command -module Microsoft.Powershell.localaccounts script off, , . .

+1

Source: https://habr.com/ru/post/1656825/


All Articles