-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Compat api containers ImageId missing sha256 #12705
Compat api containers ImageId missing sha256 #12705
Conversation
Can you squash your commits and add a test. git rebase -i origin |
Remove the draft status. This is looking good. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM apart from blank line
nits.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: flouthoc, olitha The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
test for compat API ImageId Signed-off-by: Oliver Thallmair <oliver.thallmair@mailbox.org>
/lgtm |
/kind bug
Description
The Docker API /containers/json return the ImageId with a
sha256:
prefix. Podman compat API does not. Similar to #11656Steps to reproduce the issue:
curl -X GET --unix-socket /var/run/docker.sock "v1.40/containers/json
returnspodman compat API returns
Describe the results you received:
see above
Describe the results you expected:
podman prefixes ImageId with sha256:
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Version: 3.4.2
API Version: 3.4.2
Go Version: go1.16.6
Built: Thu Jan 1 01:00:00 1970
OS/Arch: linux/amd64
Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
Tested with main branch
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):