Fix: image-defined entrypoint not overridden by intermediate container

This was causing recreation to hang.
This commit is contained in:
Aanand Prasad 2014-02-21 18:12:51 +00:00 • committed by Ben Firshman
commit a00ec9d1f8
3 changed files with 14 additions and 5 deletions

View file

@ -165,9 +165,9 @@ class Service(object):
intermediate_container = Container.create(
self.client,
image=container.image,
command='echo',
volumes_from=container.id,
entrypoint=None
entrypoint=['echo'],
command=[],
)
intermediate_container.start()
intermediate_container.wait()