Add support for log-driver in docker-compose.yml
Closes #1303 Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
4bce388b51
commit
f626fc5ce8
5 changed files with 41 additions and 1 deletions
|
|
@ -83,6 +83,10 @@ class Container(object):
|
|||
def labels(self):
|
||||
return self.get('Config.Labels') or {}
|
||||
|
||||
@property
|
||||
def log_config(self):
|
||||
return self.get('HostConfig.LogConfig') or None
|
||||
|
||||
@property
|
||||
def human_readable_state(self):
|
||||
if self.is_running:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue