Skip to content

Commit 2d9a350

Browse files
committed
Inspect returns a list of dicts
1 parent a0f02ce commit 2d9a350

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

repo2docker/docker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def inspect_image(self, image):
152152
if proc.returncode != 0:
153153
return None
154154

155-
config = json.loads(proc.stdout.decode())
155+
config = json.loads(proc.stdout.decode())[0]
156156
return Image(tags=config["RepoTags"], config=config["Config"])
157157

158158
@contextmanager

0 commit comments

Comments
 (0)