The --container flag on squashctl is described as 'Container to debug', which implies to me that it is the name of the container, not the image.
The code uses that flag's value as Squash.Containerhere. It then sets DebugTarget.Container based on Squash.Container. The corresponding code for interactive choosing containers are here and here, both have Squash.Container set to the container's name, not its image.
The
--container
flag onsquashctl
is described as 'Container to debug', which implies to me that it is the name of the container, not the image.The code uses that flag's value as
Squash.Container
here. It then sets DebugTarget.Container based onSquash.Container
. The corresponding code for interactive choosing containers are here and here, both haveSquash.Container
set to the container's name, not its image.