microsoft / vscode-docker

Docker Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker
Other
1.22k stars 518 forks source link

Cannot list images or containers with WSL #4361

Closed jtmonroe closed 2 months ago

jtmonroe commented 3 months ago

I am getting a similar error to some other users, but it looks different enough that I figured it deserves its own thread. I am running podman-docker and other than this everything seems to work except for this.

image

Looking at the logs, the command getting run is docker image ls --filter dangling=false --no-trunc --format {{json .}}

The command does not work, but this one does. docker image ls --filter dangling=false --no-trunc --format "{{json .}}"

I am not sure how or where to fix this.

jtmonroe commented 3 months ago

I sorted out where the format string is coming from. The vscode-docker-extensibility package formats the format string without the quotations.

bwateratmsft commented 3 months ago

We've done some changes in that area lately, can you check out the latest version of the Docker extension (1.29.2) and see if it fixes it?

AzCode-Bot commented 2 months ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!