summaryrefslogtreecommitdiff
path: root/cmd/podman/shared/container.go
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2019-11-12 13:37:09 -0500
committerValentin Rothberg <rothberg@redhat.com>2019-11-12 17:29:30 -0500
commitbf62f9a5cfb4319aa9b0f25b57b3f63e4b965672 (patch)
tree48b0d6feb12f5d0135b5362b5ce4a34d9095d313 /cmd/podman/shared/container.go
parentde32b89eff0928abdef9d85a420b65d8865e737e (diff)
downloadpodman-bf62f9a5cfb4319aa9b0f25b57b3f63e4b965672.tar.gz
podman-bf62f9a5cfb4319aa9b0f25b57b3f63e4b965672.tar.bz2
podman-bf62f9a5cfb4319aa9b0f25b57b3f63e4b965672.zip
history: rewrite mappings
Rewrite the backend for displaying the history of an image to simplify the code and be closer to docker's behaviour. Instead of driving index-based heuristics, create a reverse mapping from top-layers to the corresponding image IDs and lookup the layers on-demand. Also use the uncompressed layer size to be closer to Docker's behaviour. Note that intermediate images from local builds are not considered for the ID lookups anymore. Fixes: #3359 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'cmd/podman/shared/container.go')
0 files changed, 0 insertions, 0 deletions