mirror of
https://github.com/docker/compose.git
synced 2025-07-22 13:14:29 +02:00
Log "creating container" when scaling
If an image needs pulling, it just looks like it's hanging. Signed-off-by: Ben Firshman <ben@firshman.co.uk>
This commit is contained in:
parent
1dd5ef4133
commit
b2425c1f1e
@ -178,6 +178,7 @@ class Service(object):
|
|||||||
# Create enough containers
|
# Create enough containers
|
||||||
containers = self.containers(stopped=True)
|
containers = self.containers(stopped=True)
|
||||||
while len(containers) < desired_num:
|
while len(containers) < desired_num:
|
||||||
|
log.info("Creating %s..." % self._next_container_name(containers))
|
||||||
containers.append(self.create_container(detach=True))
|
containers.append(self.create_container(detach=True))
|
||||||
|
|
||||||
running_containers = []
|
running_containers = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user