Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Commit

Permalink
added started_at to container info
Browse files Browse the repository at this point in the history
  • Loading branch information
francescou committed Sep 5, 2016
1 parent 1ee601e commit de8d32e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ def project_container(name, container_id):
log_config=container.log_config,
image=container.image,
environment=container.environment,
started_at=container.get('State.StartedAt'),
repo_tags=container.image_config['RepoTags']
)

Expand Down
4 changes: 4 additions & 0 deletions static/views/container.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ <h3>{{project}} / {{container.name_without_project}}</h3>
<td>log config</td>
<td>{{container.log_config.Type}}</td>
</tr>
<tr>
<td>started at</td>
<td>{{container.started_at | date:'medium'}}</td>
</tr>
<tr>
<td>command</td>
<td>{{container.human_readable_command}}</td>
Expand Down

0 comments on commit de8d32e

Please sign in to comment.