From 7813d0a8fa1c216d56712e5c6be5dcd46e7ef51e Mon Sep 17 00:00:00 2001 From: Joffrey F Date: Thu, 24 Aug 2017 12:21:31 -0700 Subject: [PATCH] Account for repo tag values that may contain a port Signed-off-by: Joffrey F --- compose/cli/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose/cli/main.py b/compose/cli/main.py index 2bb53f95e..c07de53f2 100644 --- a/compose/cli/main.py +++ b/compose/cli/main.py @@ -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([