ML-DL/Engineering

wsl2 로 docker 실행하기

code-bean 2025. 2. 28. 17:13

쿠버네티스 실험 전 wsl2 로 docker 실행을 하기 위해 아래 작업을 진행했다

 

사전 필요 작업

- docker.desktop 설치

- wsl2 설치

 

 

1. General > Use the WSL 2 based engine 체크 되어있는지 확인

 

 

 

Resources > WSL integration

 

1. > Enable integration with my default WSL distro 체크

2. > Enable integration with additional distros: > Ubuntu 체크

3. Apply & restart

 

docker --version

 

설치해준 ubuntu 에서 위의 코드로 도커 확인