Fix: image-defined entrypoint not overridden by intermediate container
This was causing recreation to hang.
This commit is contained in:
parent
b0ac88fd06
commit
a00ec9d1f8
3 changed files with 14 additions and 5 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue