cancel
Showing results for 
Search instead for 
Did you mean: 
VictoriaSexmer1
Flight Engineer
Flight Engineer
  • 696 Views

Container images: layer´s number

Jump to solution

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

1 Solution
3 Replies
VictoriaSexmer1
Flight Engineer
Flight Engineer
  • 506 Views

Thanks!!!

0 Kudos
Akos
Cadet
Cadet
  • 649 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.