Update to docker-py 0.3.2
From 59ced5700c
Now only supports Docker 1.0.0 / remote API v1.12.
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
This commit is contained in:
parent
eb69225444
commit
d0f65906ed
9 changed files with 156 additions and 43 deletions
|
|
@ -183,7 +183,6 @@ class Service(object):
|
|||
intermediate_container = Container.create(
|
||||
self.client,
|
||||
image=container.image,
|
||||
volumes_from=container.id,
|
||||
entrypoint=['echo'],
|
||||
command=[],
|
||||
)
|
||||
|
|
@ -192,7 +191,6 @@ class Service(object):
|
|||
container.remove()
|
||||
|
||||
options = dict(override_options)
|
||||
options['volumes_from'] = intermediate_container.id
|
||||
new_container = self.create_container(**options)
|
||||
self.start_container(new_container, volumes_from=intermediate_container.id)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue