이번 포스팅은 윈도우 서버에서 도커를 실행하는 방법에대해 다뤄보았습니다
Windows Server 2016 부터 Windows container 와 hyper-v container 형태의 컨테이너 기술 Docker 를 지원합니다 (Windows Server 2016 TP3 이상)
참고자료
iis실행 예제 : https://msdn.microsoft.com/ko-kr/virtualization/windowscontainers/quick_start/manage_docker
docker와 power shell 명령어 비교: https://msdn.microsoft.com/ko-kr/virtualization/windowscontainers/reference/ps_docker_comparison
windows container 기술 정리 : https://blogs.technet.microsoft.com/koalra/2015/08/28/microsoft-container-windows-server-2016-docker-indowshyper-v-container/
테스트 환경 (docker engine, container): Virtualbox + Windows Server 2016 TP4)
.PS C:\Users\halizy\docker> docker info
Containers: 0
Images: 9
Server Version: 1.10.0-dev
Storage Driver: windowsfilter
Windows:
Execution Driver:
Name: Windows 1854
Build: 1.10.0-dev 18c9fe0
Default Isolation: process
Logging Driver: json-file
Plugins:
Volume: local
Network:
Kernel Version: 10.0 10586 (10586.162.amd64fre.th2_release_sec.160223-1728)
Operating System: Windows Server 2016 Technical Preview 4
OSType: windows
Architecture: x86_64
CPUs: 1
Total Memory: 2 GiB
Name: WIN-LSO256AIBAL
ID: OPQ7:MAVJ:RHFL:HF7Z:JNZE:X7Y7:XANQ:IJGP:3SF7:WSHY:ABLR:XH3U
Debug mode (server): true
File Descriptors: -1
Goroutines: 16
System Time: 2019-07-21T11:41:12.0247248+09:00
EventsListeners: 0
Init SHA1:
Init Path: C:\Windows\System32\docker.exe
Docker Root Dir: C:\ProgramData\docker
REPOSITORY | TAG | IMAGE ID | CREATED | VIRTUAL SIZE |
demo/iisindocker | latest | c5194c8468c4 | 2 hours ago | 178 MB |
웹페이지 접속
C#.NET Framework in Docker
REPOSITORY | TAG | IMAGE ID | CREATED | VIRTUAL SIZE |
demo/dotnet35 | latest | 7c0d91a3ce4c | 2 minutes ago | 869 MB |
'IT > Docker' 카테고리의 다른 글
Docker container CPU resource limitation (도커 CPU 사용량 조절) (0) | 2018.07.17 |
---|---|
Mono in Docker container (컨테이너에서 모노 이용) (0) | 2018.07.15 |
Docker base image (도커 기본이미지) (0) | 2018.07.15 |
Docker Container tutorial (도커 컨테이너 매뉴얼) 2-5.명령어 (volume) (0) | 2018.07.14 |
Docker Container tutorial (도커 컨테이너 매뉴얼) 2-4.명령어 (container 3) (0) | 2018.07.14 |
댓글