본문 바로가기
aws

도커(Doker) windows 설치

by 대금부는개발자 2022. 4. 7.
SMALL

 

도커(리눅스 베이스): 새로운 피시에 운영체제를 설치하는 개념 (Host os 위에 Guest OS 설치)

장점 →운영체제 단에서 공유할 수 있는 것은 공유

도커는 DB만 설치하면 돼요~!

 

※ 간혹 Windows 도커에서 Windows를 실행하고 싶을 때가 있어요. 그럴 때는 리눅스 이미지가 아니기 때문에 변경해서 사용해야 해요!

 

 

설치

구글 docker desktop 검색(도커를 실행하기 위한 가상화 장치 → 서버와 클라이언트가 다 들어있어요!)

 https://docs.docker.com/desktop/windows/install/

이미지 썸네일 삭제
Install Docker Desktop on Windows

How to install Docker Desktop for Windows

docs.docker.com

설치 후 재부팅 시 기동~! WSL 2 installation is incomplete. 설치 에러!

https://docs.microsoft.com/ko-kr/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package

이전 버전 WSL의 수동 설치 단계

wsl install 명령을 사용하지 않고 이전 버전의 Windows에 WSL을 수동으로 설치하는 방법에 대한 단계별 지침입니다.

docs.microsoft.com

4단계 - Linux 커널 업데이트 패키지 다운로드 → x64 머신용 최신 WSL2 Linux 커널 업데이트 패키지 → 설치 후 재부팅!

 

 

Setting → Resources

Docker subnet IP 도커에서 사용하는 IP

DNS 8.8.8.8 구글꺼를 쓰겠다.

Kubernetes(가상화를 제어, 롤백 백업 등 ...)도 리눅스에서 설치하셔야 해요! 기본 권장사항이 4대 이상(1master, 3work) 설치해야 해서 리소스가 많이 사용

Windows에서 사용할 경우 minikube를 사용해야 해요 → Enable Kubernetes 체크

 

허브사이트(수천만 가지의 이미지(수정할 수 없는 상태의 os를 만들어놓은 단일 파일, 디스크라 생각하면 편해요)가 올라오는 사이트) → 회원가입

https://hub.docker.com/

Docker Hub Container Image Library | App Containerization

Docker Hub is the world's largest library and community for container images Browse over 100,000 container images from software vendors, open-source projects, and the community. publisher program Deliver your business through Docker Hub Package and publish apps and plugins as containers in Doc...

hub.docker.com

 

 

LIST

'aws' 카테고리의 다른 글

AWS 인스터스 생성 및 사용  (0) 2022.03.21
220112 Window 가상머신 만들어 보기  (0) 2022.01.12
220111 네크워크 기초  (0) 2022.01.11
220111 우분투 기초  (0) 2022.01.11
220110 우분투 설치  (0) 2022.01.10

댓글