REST API: missing string "sha256" in returned Id
attribute ( /v1.24/images/${img}/history
)
#17762
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Issue Description
docker returns a string that starts with
sha256:
podman does not
Steps to reproduce the issue
sudo -i
useradd test1
usermod -aG docker test1
machinectl shell test1@
podman pull alpine:3.17.2
docker pull alpine:3.17.2
podman images
and detect the image id. Record the result in a shell variableimg=d74e625d9115
systemctl --user start podman.socket
curl -s --unix-socket /var/run/docker.sock http://localhost/v1.24/images/${img}/history | jq .[0].Id
curl -s --unix-socket $XDG_RUNTIME_DIR/podman/podman.sock http://localhost/v1.24/images/${img}/history | jq .[0].Id
Describe the results you received
Describe the results you expected
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
The commands above were run with podman 4.4.1 on Fedora CoreOS by using qemu on a macOS laptop (operating system: Ventura 13.2.1).
Additional information
I have another computer (arch: amd64) running Fedora 37. I re-run the Podman commands there with podman 4.4.2.
The container image ID changed and the container image size changed but nothing else.
The text was updated successfully, but these errors were encountered: