DevOps
[Docker] 설치에러 - Cannot process diagnostics. Reason: Error invoking remote method 'desktop-go-backend'
Rosie_dev 2023. 1. 19. 17:23Docker Desktop Window를 처음 설치할 때 발견할 수 있는 오류이다.
설치하고나서 setting이 무한로딩 되거나 started.. 문구만 뜨고 아무런 진행이 안되는 경우에 해당한다. 기본적인 설치를 살펴봤어야 했는데 너무 돌고돌아 원인을 찾았다. (외국 사이트에 별의별 방법들을 따라하다가..)
Cannot process diagnostics. Reason: Error invoking remote method 'desktop-go-backend': Error: {"message":"[2023-01-19T07:13:40.477981200Z][com.docker.diagnose.exe][I] set path configuration to OnHost\nGathering diagnostics for ID 24174DF3-5058-4CB2-950F-8711B64DD189/20230119071340 into C:\\Users\\AUTOBR~1\\AppData\\Local\\Temp\\24174DF3-5058-4CB2-950F-8711B64DD189\\20230119071340.zip.\nThis may take up to 15 minutes.\ntime=\"2023-01-19T16:13:40+09:00\" level=info msg=\"Triggering Linux sysrq and log flushes via a unix socket: \\\\\\\\.\\\\pipe\\\\dockerDiagnosticd\" type=unixsock\ntime=\"2023-01-19T16:13:40+09:00\" level=warning msg=\"/flush failed: Post \\\"http://unix/flush\\\": open \\\\\\\\.\\\\pipe\\\\dockerDiagnosticd: The system cannot find the file specified.\" type=unixsock\nunable to trigger dns-forwarder diagnostics: Post \"http://ipc/diagnostics\": open \\\\.\\pipe\\dockerDnsForwarder: The system cannot find the file specified.\ntime=\"2023-01-19T16:13:47+09:00\" level=info msg=\"unable to query WSL distros: exit status 0xffffffff\"\ntime=\"2023-01-19T16:13:47+09:00\" level=info msg=\"Start gathering list of 123 elements (timeout=15m0s)\" type=list\ntime=\"2023-01-19T16:13:47+09:00\" level=info msg=\"Gathering DiagKit\" type=list\ntime=\"2023-01-19T16:13:47+09:00\" level=info msg=\"Gathering LifecycleServerGatherer\" type=list\ntime=\"2023-01-19T16:13:47+09:00\" level=info msg=\"Gathering ProxyAPIGatherer\" type=list\ntime=\"2023-01-19T16:13:47+09:00\" level=info msg=\"Gathering BackendGatherer\" type=list\ntime=\"2023-01-19T16:13:47+09:00\" level=info msg=\"Gathering DiagKit took 1.0995ms\" type=list\ntime=\"2023-01-19T16:13:47+09:00\" level=info msg=\"Gathering system\" type=list\ntime=\"2023-01-19T16:13:47+09:00\" level=info msg=\"Executing: [powershell -NoProfile -Command &{ $(Get-WmiObject Win32_OperatingSystem) | ConvertTo-json -Depth 1 }]\"\ntime=\"2023-01-19T16:13:47+09:00\" level=info msg=\"Executing: [powershell -NoProfile -Command &{ $(Get-WmiObject Win32_ComputerSystem) | ConvertTo-json -Depth 1 }]\"\ntime=\"2023-01-19T16:13:48+09:00\" level=info msg=\"Executing: [powershell -NoProfile -Command &{ $(Get-WmiObject Win32_Processor) | ConvertTo-json -Depth 1 }]\"\ntime=\"2023-01-19T16:13:48+09:00\" level=info msg=\"Gathering BackendGatherer took 641.8334ms\" type=list\ntime=\"2023-01-19T16:13:48+09:00\" level=info msg=\"Gathering ProcessGatherer\" type=list\ntime=\"2023-01-19T16:13:48+09:00\" level=info msg=\"Gathering ProcessGatherer took 18.3454ms\" type=list\ntime=\"2023-01-19T16:13:48+09:00\" level=info msg=\"Gathering typeperf \\\\Process(*)\\\\% Processor Time (timeout 0s)-sc (timeout 0s)5 (timeout 0s)-y\" type=list\ntime=\"2023-01-19T16:13:48+09:00\" level=info msg=\"Executing: [typeperf \\\\Process(*)\\\\% Processor Time -sc 5 -y]\"\nerror during connect: This error may indicate that the docker daemon is not running.: Get \"http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/json\": open //./pipe/docker_engine: The system cannot find the file specified.\ntime=\"2023-01-19T16:13:49+09:00\" level=info msg=\"Executing: [powershell -NoProfile -Command &{ $(Get-WmiObject Win32_BaseBoard) | ConvertTo-json -Depth 1 }]\"\ntime=\"2023-01-19T16:13:49+09:00\" level=info msg=\"Executing: [powershell -NoProfile -Command &{ Get-Item 'Registry::HKEY_LOCAL_MACHINE\\\\SOFTWARE\\\\Microsoft\\\\Windows NT\\\\CurrentVersion' }]\"\ntime=\"2023-01-19T16:13:50+09:00\" level=info msg=\"Executing: [powershell -NoProfile -Command &{ Get-MpComputerStatus }]\"\n2023/01/19 16:13:50 exit status 0xffffffff\n: exit status 1"}
에러에서도 보면 알 수 있듯이, backend가 제대로 설치되지 않은 경우인데, WSL 2 설정이 제대로 되어 있지 않은 경우에 발생했다.
설치시, WSL 2를 활성화하고 Linux용 Windows 하위 시스템을 활성화하고 가상머신 기능을 활성화, Linux 커널패키지 다운로드 등 리눅스를 윈도우 환경에서 실행할 수 있도록 세팅해야 한다.
Powershell 활성화 명령어
// Linux용 Windows 하위 시스템을 활성화
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
// 가상머신 기능을 활성화
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
// WSL2를 기본 버전으로 설정
wsl --set-default-version 2
Windows에서 Linux 실행하기
Microsoft에서 리눅스 배포를 선택하는데 Ubuntu가 없어서 나는 Debian을 설치했는데, 왜 없어졌는지는 모르겠다. 이후에 Powershell에서 제대로 설치됐는지 확인할 수 있었다.
※ 위 내용은 [Docker] Windows 도커 설치를 참조한 설치내용임
'DevOps' 카테고리의 다른 글
[Putty, Filezila] No supported authentication methods available (0) | 2023.03.26 |
---|
댓글
최근에 올라온 글
TAG
- 실용주의프로그래머
- spring
- 독서후기
- 개발도서
- EC2
- 노마드코더
- filezila
- 오늘의코딩
- git연동
- IT 5분 잡학사전
- gradle
- 배포
- 북클럽
- 호스팅영역
- LifecycleException
- JIRA
- 기술블로그
- putty
- jdbc
- SQLD
- 노개북
- 정보처리기사
- ubuntu
- 정보처리기사 실기
- 웹페이지만들기
- AWS
- 정보처리기사 필기
- gradle build
- java
- intellij
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
글 보관함