Make sure this counter is zeroed for each container
Otherwise, second and subsequent containers will often show an
ellipsis even if they are using the most recent image.
@@ -82,8 +82,8 @@ func (opts *controllerShowOpts) RunE(cmd *cobra.Command, args []string) error {
}
controllerName := controller.ID.String()
- var lineCount int
for _, container := range controller.Containers {
+ var lineCount int
containerName := container.Name
reg, repo, currentTag := container.Current.ID.Components()
if reg != "" {
