2018年1月10日 星期三

快速上手 Windows Containers 容器技術


Launch AWS new instance - Microsoft Windows Server 2016 Base with Containers <Free>
Launch Command Line Console
Docker



C:\Users\Administrator>docker run --name new1 -it microsoft/windowsservercore cmd
run new container and name is new1
-i Keep STDIN open event if not attached
-t Allocate a pseudo-TTY
Base image microsoft/windowserververcore 
Download -> Extract -> Execute



 This is a container OS cmd

List running Containers
C:\Users\Administrator>docker ps -a

Stop Container

Delete Container

List local Container images



沒有留言:

張貼留言

Docker Command

#1 pull images $docker pull chusiang/takaojs1607 #2 list images $docker images #3.1 run docker $docker run -it ### bash #3.2 run do...