Expose the command through the API for images.

This commit is contained in:
yackob03 2014-01-14 12:18:23 -05:00
parent 97d179cafb
commit c72cae954b

View file

@ -902,6 +902,7 @@ def image_view(image):
'id': image.docker_image_id,
'created': image.created,
'comment': image.comment,
'command': json.loads(image.command) if image.command else None,
'ancestors': image.ancestors,
'dbid': image.id,
'size': image.image_size,