2018年2月12日 星期一

Windows Containers 容器技術 - 建立IIS容器


Download IIS Container Image from Docker Hub

docker pull microsoft/iis



docker run --name iis1 -d -p 8080:80 microsoft/iis
-d 進入detach 背景模式
-p 8080:80 設定主機8080 port 對應到容器80 port




docker exec -it iis1 cmd







refer: https://www.slideshare.net/WillHuangTW/windows-containers-docker-taipei

How do I publicly host my website on EC2 Windows using IIS?
https://aws.amazon.com/premiumsupport/knowledge-center/public-website-ec2-iis/

eventcreate and EventVwr.msc Command


eventcreate /ID 1 /L APPLICATION /T INFORMATION /SO shavllik /D "Before Windows Patch Install"
eventcreate /ID 1 /L APPLICATION /T INFORMATION /SO shavllik /D "Windows patch install finished"
eventcreate /ID 1 /L APPLICATION /T INFORMATION /SO shavllik /D "Windows patch install finished and also rebooted"




Reference:
https://technet.microsoft.com/zh-tw/library/bb490899.aspx


check_systemv1.1

 check_systemv1.1.bat 可用於電腦資產盤點 @echo off REM 後續命令使用的是:UTF-8編碼 chcp 65001 echo ***Thanks for your cooperation*** echo ***感謝你的合作*** timeout 1...