Account for repo tag values that may contain a port

Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
Joffrey F 2017-08-24 12:21:31 -07:00 committed by Joffrey F
parent 415c5ddde4
commit 7813d0a8fa
1 changed files with 1 additions and 1 deletions

View File

@ -506,7 +506,7 @@ class TopLevelCommand(object):
rows = []
for container in containers:
image_config = container.image_config
repo_tags = image_config['RepoTags'][0].split(':')
repo_tags = image_config['RepoTags'][0].rsplit(':', 1)
image_id = image_config['Id'].split(':')[1][:12]
size = human_readable_file_size(image_config['Size'])
rows.append([