now = datetime_now()
table = PrettyTable(
['NAME', 'RUNNING', 'REFRESHED', 'AGE',
- 'PLACEMENT',
- 'IMAGE NAME', 'IMAGE ID'
+ 'PLACEMENT', 'IMAGE ID'
],
border=False)
table.align['NAME'] = 'l'
table.align['RUNNING'] = 'r'
table.align['REFRESHED'] = 'l'
table.align['AGE'] = 'l'
- table.align['IMAGE NAME'] = 'l'
table.align['IMAGE ID'] = 'l'
table.align['PLACEMENT'] = 'l'
table.left_padding_width = 0
refreshed,
nice_delta(now, s.created),
pl,
- ukn(s.container_image_name),
ukn(s.container_image_id)[0:12],
))
now = datetime_now()
table = PrettyTable(
['NAME', 'HOST', 'STATUS', 'REFRESHED', 'AGE', 'PORTS',
- 'VERSION', 'IMAGE NAME', 'IMAGE ID', 'CONTAINER ID'],
+ 'VERSION', 'IMAGE ID', 'CONTAINER ID'],
border=False)
table.align = 'l'
table.left_padding_width = 0
nice_delta(now, s.created),
s.get_port_summary() or '-',
ukn(s.version),
- ukn(s.container_image_name),
ukn(s.container_image_id)[0:12],
ukn(s.container_id)))