-
This is somewhat related to #14513, but with a concrete example from the code. I might understand things wrong because I don't completely understand the docker compatibility API - in which case please correct me. However it seems that the following is all that is needed to start the compat API: podman system service -t 5000 & Now from the docker API it seems container inspect should return a
However, in this libpod code in seems status can also return podman/libpod/define/containerstate.go Lines 43 to 71 in 7371306 Am I looking at the correct docker compatibility API code? Should it be drifting from the docker spec? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
These are just the internal libpod names that are exposed via the podman cli. The docker compat api should always return correct docker output, if not file a bug with a reproducer. podman/pkg/api/handlers/compat/containers.go Line 277 in c936d1e |
Beta Was this translation helpful? Give feedback.
-
Thanks, I was looking at the wrong file 😁 This is a bit hard to reproduce as we don't see it often - the comment in libpod also states "we don't expect to see it [initialized] much" 😅 But I tried to explain my logic in PR #14700 |
Beta Was this translation helpful? Give feedback.
These are just the internal libpod names that are exposed via the podman cli. The docker compat api should always return correct docker output, if not file a bug with a reproducer.
This is the compat api code:
podman/pkg/api/handlers/compat/containers.go
Line 277 in c936d1e