에러메세지, dev container 실행시
Host server: Error: spawn Docker ENOENT at ChildProcess._handle.onexit (node:internal/child_process:286:19) at onErrorNT (node:internal/child_process:484:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) Host server: (node:599) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1) (Use `node --trace-warnings ...` to show where the warning was created)

조치방법
# dev container 관련명령어 아래 2가지를 재설치해 봤음에도 불구하고 install devcontainer CLI install Docker in WSL # 에러가 발생하면, 환경이 꼬여서 그럴 수 있으니 아래 명령어를 실행해 본다. rebuild and reopen in container

wsl docker를 기반으로 실행되니 아래가 설치 된 것인지 미리 확인
(window Docker desktop을 기준으로 실행되기도 함. 어찌되었든 docker는 wsl에서 실행되지만)

_
반응형