Add support for the --entrypoint option of docker run
Signed-off-by: Satoru Logic <satorulogic@gmail.com>
This commit is contained in:
parent
267be12bb2
commit
62b9c64311
5 changed files with 27 additions and 1 deletions
|
|
@ -89,7 +89,9 @@ class Container(object):
|
|||
|
||||
@property
|
||||
def human_readable_command(self):
|
||||
return ' '.join(self.get('Config.Cmd') or '')
|
||||
entrypoint = self.get('Config.Entrypoint') or []
|
||||
cmd = self.get('Config.Cmd') or []
|
||||
return ' '.join(entrypoint + cmd)
|
||||
|
||||
@property
|
||||
def environment(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue