Browse Source

Log "creating container" when scaling

If an image needs pulling, it just looks like it's hanging.

Signed-off-by: Ben Firshman <[email protected]>
Ben Firshman 11 years ago
parent
commit
b2425c1f1e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compose/service.py

+ 1 - 0
compose/service.py

@@ -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 = []