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

Erorr: Template parsing error: template:1:194: executing " at <.State>: can't evaluate feld State in type *formatter.containerContextd #3733

Closed
wodrow opened this issue Nov 30, 2022 · 8 comments

Comments

@wodrow
Copy link

wodrow commented Nov 30, 2022

image

how to slove it?

Failed to connect. Is Docker installed and running?
Erorr: Template parsing error: template:1:194: executing " at <.State>: can't evaluate feld State in type *formatter.containerContextd
@cocolato
Copy link

cocolato commented Nov 30, 2022

Same problem in version v1.23.0, rollback to v1.22.2 fixed.

@wodrow
Copy link
Author

wodrow commented Nov 30, 2022

image
I use v1.73.1
should me must rollback to v1.22.2?

@cocolato
Copy link

image I use v1.73.1 should me must rollback to v1.22.2?

I mean docker extention version.

@cocolato
Copy link

image this is my docker version

Check your vscode docker extension version.

@wodrow
Copy link
Author

wodrow commented Nov 30, 2022

good solution
i have sloved id by rollback vscode docker extension to version 1.22.2
thanks

@ShiquanYu
Copy link

Same problem, is there any way to solve this problem except rollback vsc version?

@giahung24
Copy link

Since there is already an issue for this problem #3724 , I suggest you to follow there

@bwateratmsft
Copy link
Collaborator

As @giahung24 notes this is a duplicate of #3724. These are older versions of Docker Engine / Docker Desktop, and updating them would fix the issue. We are working on a fix to make the code more resilient to the lack of this State field on container JSON, but it's going to require a fair bit of work, since we have to change the output format considerably. It would be easier if Go wasn't so frustrating about templating...

@bwateratmsft bwateratmsft closed this as not planned Won't fix, can't repro, duplicate, stale Nov 30, 2022
@microsoft microsoft locked and limited conversation to collaborators Jan 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants