Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker installation no longer detected #10509

Open
dracco1993 opened this issue Nov 26, 2024 · 2 comments
Open

Docker installation no longer detected #10509

dracco1993 opened this issue Nov 26, 2024 · 2 comments
Assignees
Labels
containers Issue in vscode-remote containers info-needed Issue requires more information from poster

Comments

@dracco1993
Copy link

dracco1993 commented Nov 26, 2024

Type: Bug

When trying to "reopen in container", docker is not detected.
Running docker version --format {{json .}} results in an error, but running docker version --format '{{json .}}' prints out the JSON necessary. I suspect that the current version of Docker is not parsing that command the same way.

JSON output:

{"Client":{"Version":"27.3.1","ApiVersion":"1.47","DefaultAPIVersion":"1.47","GitCommit":"ce12230","GoVersion":"go1.22.7","Os":"darwin","Arch":"arm64","BuildTime":"Fri Sep 20 11:38:18 2024","Context":"desktop-linux"},"Server":{"Platform":{"Name":"Docker Desktop 4.36.0 (175267)"},"Components":[{"Name":"Engine","Version":"27.3.1","Details":{"ApiVersion":"1.47","Arch":"arm64","BuildTime":"Fri Sep 20 11:41:19 2024","Experimental":"false","GitCommit":"41ca978","GoVersion":"go1.22.7","KernelVersion":"6.10.14-linuxkit","MinAPIVersion":"1.24","Os":"linux"}},{"Name":"containerd","Version":"1.7.21","Details":{"GitCommit":"472731909fa34bd7bc9c087e4c27943f9835f111"}},{"Name":"runc","Version":"1.1.13","Details":{"GitCommit":"v1.1.13-0-g58aa920"}},{"Name":"docker-init","Version":"0.19.0","Details":{"GitCommit":"de40ad0"}}],"Version":"27.3.1","ApiVersion":"1.47","MinAPIVersion":"1.24","GitCommit":"41ca978","GoVersion":"go1.22.7","Os":"linux","Arch":"arm64","KernelVersion":"6.10.14-linuxkit","BuildTime":"2024-09-20T11:41:19.000000000+00:00"}}

Extention logs:

[743 ms] Dev Containers 0.388.0 in VS Code 1.95.1 (65edc4939843c90c34d61f4ce11704f09d3e5cb6).
[743 ms] Initializing configuration support...
[743 ms] Internal initialization of dev container support package...
[35871 ms] Entering createDevContainerConfig_v2
[52831 ms] Entering createDevContainerConfig_v2
[79543 ms] Start: Run: docker version --format {{json .}}
[79545 ms] spawn docker ENOENT
[79547 ms] CLI host's PATH: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin

Extension version: 0.388.0
VS Code version: Code 1.95.1 (65edc4939843c90c34d61f4ce11704f09d3e5cb6, 2024-10-31T05:14:54.222Z)
OS version: Darwin arm64 23.6.0
Modes:

System Info
Item Value
CPUs Apple M2 Pro (12 x 2400)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 5, 4, 4
Memory (System) 32.00GB (0.23GB free)
Process Argv --crash-reporter-id 2402b2b6-2887-4129-ad71-bdb0a77b4c74
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
vscrp:30673768
a9j8j154:30646983
962ge761:30959799
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
9c06g630:31013171
dvdeprecation:31068756
dwnewjupytercf:31046870
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc1:31185841
cf971741:31144450
iacca1:31171482
notype1:31157159
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530

@dracco1993 dracco1993 changed the title Docker instalation no longer detected Docker installation no longer detected Nov 26, 2024
@vs-code-engineering vs-code-engineering bot added the containers Issue in vscode-remote containers label Nov 27, 2024
@chrmarti
Copy link
Contributor

docker doesn't seem to be on the PATH.

@chrmarti
Copy link
Contributor

Maybe you configured the Docker Path in the user settings and are using profiles? Could you retry with VS Code 1.95.3? That has a fix that affects this setup (microsoft/vscode#232602).

@chrmarti chrmarti added the info-needed Issue requires more information from poster label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
containers Issue in vscode-remote containers info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants