Execute podman inspect or stop return "json: cannot unmarshal array into Go struct field InspectContainerConfig.Config.Entrypoint of type string" #22531
cxyfreedom
started this conversation in
General
Replies: 2 comments 2 replies
-
Same thing happening here but with even more basic commands like
Podman version 4.9.0 |
Beta Was this translation helpful? Give feedback.
0 replies
-
You have to update to podman 5.0, 4.X is no longer supported by us. The issue is that the version inside your machine VM is already on 5.0 thus the API for inspect is incompatible. So either you have to upgrade your client to 5.0 or downgrade your VM to an older version with 4.X |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue Description
I installed podman version 4.6.2 on Mac M1. I can successfully run any container.
But When I execute command
podman inspect <container id>
, alsopodman stop <container id>
, I met the same error.I try install the latest release, But It will return the error like #22226 , so I downgrade the version.
I also uninstall and remove directory, but still failed. I don't know why the server podman engine is 5.0.1, not match the client version.
Steps to reproduce the issue
docker inspect <container_id>
Describe the results you received
Error: unmarshalling into &define.InspectContainerData{
leave out some json data
}\n": json: cannot unmarshal string into Go struct field InspectContainerConfig.Config.StopSignal of type uintDescribe the results you expected
The command
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
No
Additional environment details
podman version:
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
Beta Was this translation helpful? Give feedback.
All reactions