Merge pull request #460 from dnephin/fix_tests_for_docker_1.1
Fix test failures on docker 1.1.2
This commit is contained in:
commit
ec5c864cc7
5 changed files with 51 additions and 32 deletions
|
|
@ -205,6 +205,10 @@ class Service(object):
|
|||
return tuples
|
||||
|
||||
def recreate_container(self, container, **override_options):
|
||||
"""Recreate a container. An intermediate container is created so that
|
||||
the new container has the same name, while still supporting
|
||||
`volumes-from` the original container.
|
||||
"""
|
||||
try:
|
||||
container.stop()
|
||||
except APIError as e:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue