Use individual volumes for recreate instead of volumes_from
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
This commit is contained in:
parent
4997facbb4
commit
417d9c2d51
5 changed files with 152 additions and 40 deletions
|
|
@ -44,6 +44,10 @@ class Container(object):
|
|||
def image(self):
|
||||
return self.dictionary['Image']
|
||||
|
||||
@property
|
||||
def image_config(self):
|
||||
return self.client.inspect_image(self.image)
|
||||
|
||||
@property
|
||||
def short_id(self):
|
||||
return self.id[:10]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue