Expose the command through the API for images.
This commit is contained in:
parent
97d179cafb
commit
c72cae954b
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Reference in a new issue