하기와 같은 오류 발생시
Failed to deploy distro docker-desktop to
C:\Users\d-0-b\AppData\Local\Docker\wsl\distro:
Some WSL system related access rights are not set correctly. This sometimes happens after waking the computer or not being connected to your domain/active directory. Please try to reboot the computer. If not sufficient, WSL may need to be reinstalled fully. As a last resort, try to uninstall/reinstall Docker Desktop.
Windows Active Directory 를 사용 중이라면 cmd 혹은 powershell 에서 gpupdate /force 실행 후 다시 시도
gpupdate /force
위의 내용과 별개로
1. 관리자 권한으로 PowerShell 실행
2. Linux용 Windows 하위 시스템 사용
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
3. Virtual Machine 기능 사용
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
4. WSL 2를 기본 버전으로 설정
wsl --set-default-version 2
재부팅 후 문제가 있다가 추가로 Docker Desktop과 Linux 커널 업데이트 패키지 재설치
이전 버전 WSL의 수동 설치 단계 | Microsoft Docs
이전 버전 WSL의 수동 설치 단계
wsl install 명령을 사용하지 않고 이전 버전의 Windows에 WSL을 수동으로 설치하는 방법에 대한 단계별 지침입니다.
docs.microsoft.com