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:
Ben Firshman 2014-06-25 11:47:29 +01:00
commit d0f65906ed
9 changed files with 156 additions and 43 deletions

View file

@ -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)