SlideShare a Scribd company logo
1 of 16
Download to read offline
Docker 설치
* Windows Pro 이상에서는 Hyper-v를 지원하여 Docker 설치가 간편함
* Windows Home에서는 wsl2 설정 및 기타 설정이 필요함
∙ 작업관리자 실행 후 “성능“ 탭에서 “가상화:사용” 확인
: 사용이라고 표기되어있지 않으면 바이오스에서 가상화 도구 사용이 설정한 cpu도 있으니
확인이 필요함
1) 가상화 확인
∙ 제어판 -> 프로그램 및 기능 -> windows 기능 켜기/끄기
2) Windows 기능 확인
■ windows pro
: Hyper-V 체크
■ windows home
: Windows 하이퍼바이저 플랫폼 체크
가상 머신 플랫폼 체크
■ windows home
∙ 명령 프롬프트 -> ver 명령어 입력
: 10.0.18917 이상인지 확인
3) Windows 버전 확인(1) ■ windows pro (생략 가능)
■ windows home
∙ 설정 -> Windows 참가자 프로그램 -> 베타 채널(권장) 으로 설정
∙ 설정 후 Windows 업데이트 진행
3) Windows 버전 확인(2) ■ windows pro (생략 가능)
■ windows home
∙ https://docs.microsoft.com/ko-kr/windows/wsl/install-win10
-> “x64 머신용 최신 WSl2 Linux 커널 업데이트 패키지“ 다운로드
4) wsl2 설치 ■ windows pro (생략 가능)
∙ 다운받은 파일을 실행하여 설치
■ windows home
∙ powershell을 관리자 권한으로 실행 후 해당 명령어 순서대로 실행
5) Powershell에서 실행 ■ windows pro (생략 가능)
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
wsl --set-default-version 2
■ windows home
∙ Ubuntu를 검색해서 설치
6) 마이크로소프트 스토어에서 Ubuntu 설치 ■ windows pro (생략 가능)
■ windows home
∙ 설치한 Ubuntu를 실행
∙ 아래와 같은 에러 발생시 레거시 콘솔 옵션을 해지 후 다시 Ubuntu 실행
7) Ubuntu 실행 ■ windows pro (생략 가능)
■ windows home
∙ powershell 에서 명령어 입력
wsl --list --v
8) wsl 버전 확인 ■ windows pro (생략 가능)
∙ 버전이 2로 나오지 않으면 해당 명령어 입력
wsl --set-version Ubuntu 2
∙ https://www.docker.com/products/docker-desktop 접속해서 파일 다운로드
9) Docker 설치(1)
∙ 설치한 파일을 실행하여 설치
(모든 option은 그대로 두고 Next)
9) Docker 설치(2)
∙ 설치 완료 후 Docker 실행
9) Docker 설치(3)
∙ 정상적으로 Docker 실행 확인
9) Docker 설치(4)
∙ wsl2를 사용한다고 windows의 모든 자원을 사용할 수는 없음
∙ gpu는 지원 x
∙ windows 100% 성능은 아니고, 20%정도의 손실이 있지만 가상머신에 비해 속도는 빠르다
10) wsl2에 관해
• 참고
https://jijs.tistory.com/entry/windows-10-home-%EC%97%90%EC%84%9C-docker-%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0
https://meaownworld.tistory.com/156

More Related Content

What's hot

Programming言語Lua紹介(Internet版)
Programming言語Lua紹介(Internet版)Programming言語Lua紹介(Internet版)
Programming言語Lua紹介(Internet版)zetamatta
 
지역블로그 활성화 방안(정보문화포럼,광주)
지역블로그 활성화 방안(정보문화포럼,광주)지역블로그 활성화 방안(정보문화포럼,광주)
지역블로그 활성화 방안(정보문화포럼,광주)Euihong Hwang
 
Memcached 剖析
Memcached 剖析Memcached 剖析
Memcached 剖析litaocheng
 
Magic cube google home 設定編-003-
Magic cube google home 設定編-003- Magic cube google home 設定編-003-
Magic cube google home 設定編-003- covia-inc
 
Jitaku Server 3points
Jitaku Server 3pointsJitaku Server 3points
Jitaku Server 3pointsakitsukada
 
スタートアップにおける アジャイル開発の有用性について
スタートアップにおけるアジャイル開発の有用性についてスタートアップにおけるアジャイル開発の有用性について
スタートアップにおける アジャイル開発の有用性についてYoshihito Kuranuki
 
웹 사이트의 성능 높이기 Part1
웹 사이트의 성능 높이기 Part1웹 사이트의 성능 높이기 Part1
웹 사이트의 성능 높이기 Part1kisu kim
 
AGPsource Game Platform 3.0
AGPsource Game Platform 3.0AGPsource Game Platform 3.0
AGPsource Game Platform 3.0CoinIndex.agency
 
2009/04/19 UI Gathering專題演講-UI prototype實作經驗分享
2009/04/19 UI Gathering專題演講-UI prototype實作經驗分享2009/04/19 UI Gathering專題演講-UI prototype實作經驗分享
2009/04/19 UI Gathering專題演講-UI prototype實作經驗分享Justin Lee
 
4. pc structure
4. pc structure4. pc structure
4. pc structuremtmsbilig
 

What's hot (20)

Programming言語Lua紹介(Internet版)
Programming言語Lua紹介(Internet版)Programming言語Lua紹介(Internet版)
Programming言語Lua紹介(Internet版)
 
Mac玩家特區X目錄
Mac玩家特區X目錄Mac玩家特區X目錄
Mac玩家特區X目錄
 
Ubuntu0523
Ubuntu0523Ubuntu0523
Ubuntu0523
 
Нетбук
НетбукНетбук
Нетбук
 
Нетбук
НетбукНетбук
Нетбук
 
지역블로그 활성화 방안(정보문화포럼,광주)
지역블로그 활성화 방안(정보문화포럼,광주)지역블로그 활성화 방안(정보문화포럼,광주)
지역블로그 활성화 방안(정보문화포럼,광주)
 
Memcached 剖析
Memcached 剖析Memcached 剖析
Memcached 剖析
 
Magic cube google home 設定編-003-
Magic cube google home 設定編-003- Magic cube google home 設定編-003-
Magic cube google home 設定編-003-
 
Wiimproject
WiimprojectWiimproject
Wiimproject
 
Jitaku Server 3points
Jitaku Server 3pointsJitaku Server 3points
Jitaku Server 3points
 
Make
MakeMake
Make
 
Plone for NPO
Plone for NPOPlone for NPO
Plone for NPO
 
Key boards
Key boardsKey boards
Key boards
 
スタートアップにおける アジャイル開発の有用性について
スタートアップにおけるアジャイル開発の有用性についてスタートアップにおけるアジャイル開発の有用性について
スタートアップにおける アジャイル開発の有用性について
 
웹 사이트의 성능 높이기 Part1
웹 사이트의 성능 높이기 Part1웹 사이트의 성능 높이기 Part1
웹 사이트의 성능 높이기 Part1
 
AGPsource Game Platform 3.0
AGPsource Game Platform 3.0AGPsource Game Platform 3.0
AGPsource Game Platform 3.0
 
Introduction to Android (in tamil)
Introduction to Android (in tamil)Introduction to Android (in tamil)
Introduction to Android (in tamil)
 
Apache
ApacheApache
Apache
 
2009/04/19 UI Gathering專題演講-UI prototype實作經驗分享
2009/04/19 UI Gathering專題演講-UI prototype實作經驗分享2009/04/19 UI Gathering專題演講-UI prototype實作經驗分享
2009/04/19 UI Gathering專題演講-UI prototype實作經驗分享
 
4. pc structure
4. pc structure4. pc structure
4. pc structure
 

Docker 설치 (윈도우10 home, pro)

  • 2. * Windows Pro 이상에서는 Hyper-v를 지원하여 Docker 설치가 간편함 * Windows Home에서는 wsl2 설정 및 기타 설정이 필요함
  • 3. ∙ 작업관리자 실행 후 “성능“ 탭에서 “가상화:사용” 확인 : 사용이라고 표기되어있지 않으면 바이오스에서 가상화 도구 사용이 설정한 cpu도 있으니 확인이 필요함 1) 가상화 확인
  • 4. ∙ 제어판 -> 프로그램 및 기능 -> windows 기능 켜기/끄기 2) Windows 기능 확인 ■ windows pro : Hyper-V 체크 ■ windows home : Windows 하이퍼바이저 플랫폼 체크 가상 머신 플랫폼 체크
  • 5. ■ windows home ∙ 명령 프롬프트 -> ver 명령어 입력 : 10.0.18917 이상인지 확인 3) Windows 버전 확인(1) ■ windows pro (생략 가능)
  • 6. ■ windows home ∙ 설정 -> Windows 참가자 프로그램 -> 베타 채널(권장) 으로 설정 ∙ 설정 후 Windows 업데이트 진행 3) Windows 버전 확인(2) ■ windows pro (생략 가능)
  • 7. ■ windows home ∙ https://docs.microsoft.com/ko-kr/windows/wsl/install-win10 -> “x64 머신용 최신 WSl2 Linux 커널 업데이트 패키지“ 다운로드 4) wsl2 설치 ■ windows pro (생략 가능) ∙ 다운받은 파일을 실행하여 설치
  • 8. ■ windows home ∙ powershell을 관리자 권한으로 실행 후 해당 명령어 순서대로 실행 5) Powershell에서 실행 ■ windows pro (생략 가능) dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart wsl --set-default-version 2
  • 9. ■ windows home ∙ Ubuntu를 검색해서 설치 6) 마이크로소프트 스토어에서 Ubuntu 설치 ■ windows pro (생략 가능)
  • 10. ■ windows home ∙ 설치한 Ubuntu를 실행 ∙ 아래와 같은 에러 발생시 레거시 콘솔 옵션을 해지 후 다시 Ubuntu 실행 7) Ubuntu 실행 ■ windows pro (생략 가능)
  • 11. ■ windows home ∙ powershell 에서 명령어 입력 wsl --list --v 8) wsl 버전 확인 ■ windows pro (생략 가능) ∙ 버전이 2로 나오지 않으면 해당 명령어 입력 wsl --set-version Ubuntu 2
  • 12. ∙ https://www.docker.com/products/docker-desktop 접속해서 파일 다운로드 9) Docker 설치(1)
  • 13. ∙ 설치한 파일을 실행하여 설치 (모든 option은 그대로 두고 Next) 9) Docker 설치(2)
  • 14. ∙ 설치 완료 후 Docker 실행 9) Docker 설치(3)
  • 15. ∙ 정상적으로 Docker 실행 확인 9) Docker 설치(4)
  • 16. ∙ wsl2를 사용한다고 windows의 모든 자원을 사용할 수는 없음 ∙ gpu는 지원 x ∙ windows 100% 성능은 아니고, 20%정도의 손실이 있지만 가상머신에 비해 속도는 빠르다 10) wsl2에 관해 • 참고 https://jijs.tistory.com/entry/windows-10-home-%EC%97%90%EC%84%9C-docker-%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0 https://meaownworld.tistory.com/156