VictoriaSexmer1
Mission Specialist
Mission Specialist
  • 172 Views

Container images: layer´s number

Does anybody know how to check the number of layers in a container image using Podman?

2 Replies
Akos
Cadet
Cadet
  • 125 Views

Hi,

layers with podman:

podman inspect registry.redhat.io/ansible-automation-platform-24/ee-supported-rhel8:latest | jq '[ .[0].History[] | select(.empty_layer != true) ] | length'

Tags (1)
0 Kudos
Join the discussion
You must log in to join this conversation.