You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the same issue:
[77389 ms] Start: Run in Host: docker version --format {{.Server.APIVersion}}
[77438 ms] Host server: Error: spawn docker ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[77483 ms] spawn docker ENOENT
[77500 ms] Host server: (node:3896) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)
(Use node --trace-warnings ... to show where the warning was created)
[77798 ms] CLI host's PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
In my case the docker path was wrong. To resolve, I check my docker path with which docker.
So I press Command + Shift + P -> Dev Containers: Settings -> Find Docker Path configuration -> Paste the result (which is a path) of the which docker command and try use Dev container again
VSCode Version: 1.83.1
Local OS Version: MacOS 12.5
Remote OS Version: MacOS 12.6.2
Remote Extension/Connection Type: Dev Containers v0.315.1 (local) Docker v1.26.1 (remote)
Docker desktop for Mac (remote): 4.24.2
Logs:
Dev Container log
[515226 ms] Start: Run in Host: docker version --format {{.Server.APIVersion}}
[515232 ms] Host server: Error: spawn docker ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:283:19)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
[515236 ms] Host server: (node:42024) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 4)
[515236 ms] spawn docker ENOENT
[515238 ms] CLI host's PATH: /usr/bin:/bin:/usr/sbin:/sbin
Steps to Reproduce:
This has worked since installation (Jan 2023) the error only started yesterday afternoon.
The text was updated successfully, but these errors were encountered: