I've never been able to run the Dev Container extension due to this error:
Here are the logs:
[2025-06-22T22:32:48.629Z] Initializing configuration support...
[2025-06-22T22:32:48.630Z] Internal initialization of dev container support package...
[2025-06-22T22:32:48.629Z] Dev Containers 0.417.0 in VS Code 1.101.0 (dfaf44141ea9deb3b4096f7cd6d24e00c147a4b1).
[2025-06-22T22:32:54.166Z] Start: Run: docker version --format {{json .}}
[2025-06-22T22:32:54.177Z] Stop (11 ms): Run: docker version --format {{json .}}
[2025-06-22T22:32:54.178Z] spawn docker ENOENT
[2025-06-22T22:32:54.182Z] CLI host's PATH: /app/bin:/app/bin:/app/bin:/usr/bin:/home/alex/.var/app/com.visualstudio.code/data/node_modules/bin
[2025-06-22T22:32:54.184Z] Stop (18 ms): Run: docker version --format {{json .}}
and here is my Docker version:
alex@alex-desktop:~$ docker version --format '{{json .}}'
{"Client":{"Platform":{"Name":"Docker Engine - Community"},"Version":"28.2.2","ApiVersion":"1.50","DefaultAPIVersion":"1.50","GitCommit":"e6534b4","GoVersion":"go1.24.3","Os":"linux","Arch":"amd64","BuildTime":"Fri May 30 12:07:28 2025","Context":"desktop-linux"},"Server":{"Platform":{"Name":"Docker Desktop 4.42.1 (196321)"},"Components":[{"Name":"Engine","Version":"28.2.2","Details":{"ApiVersion":"1.50","Arch":"amd64","BuildTime":"Fri May 30 12:07:26 2025","Experimental":"false","GitCommit":"45873be","GoVersion":"go1.24.3","KernelVersion":"6.10.14-linuxkit","MinAPIVersion":"1.24","Os":"linux"}},{"Name":"containerd","Version":"1.7.27","Details":{"GitCommit":"05044ec0a9a75232cad458027ca83437aae3f4da"}},{"Name":"runc","Version":"1.2.5","Details":{"GitCommit":"v1.2.5-0-g59923ef"}},{"Name":"docker-init","Version":"0.19.0","Details":{"GitCommit":"de40ad0"}}],"Version":"28.2.2","ApiVersion":"1.50","MinAPIVersion":"1.24","GitCommit":"45873be","GoVersion":"go1.24.3","Os":"linux","Arch":"amd64","KernelVersion":"6.10.14-linuxkit","BuildTime":"2025-05-30T12:07:26.000000000+00:00"}}
I run the latest version of VSCode and Dev Containers on Linux Mint 21.3. I followed all steps of the Dev Containers install. I had the same issue on older versions 2 years ago, at that time I gave up thinking it would be fixed later.
The "Install" button just redirects me to docker.com downloads page.


ENOENTin the logs. Can you access docker from the CLI the normal way? If yes, where is it installed? The "docker desktop" thing is some weird wrapper around the core, try to resolve the problem withdockeritself first.../usr/local/bin/docker. Could you try to run the command from your logs (/usr/local/bin/docker version --format {{json .}})? Please also add your comment followed the install button to the post, it's an important detail, and also post error log as text and not as image.