We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 99d7a47 + d528f9f commit 94d82d4Copy full SHA for 94d82d4
1 file changed
fig/cli/main.py
@@ -322,12 +322,14 @@ def up(self, options):
322
recreate = not options['--no-recreate']
323
service_names = options['SERVICE']
324
325
- to_attach = self.project.up(
+ self.project.up(
326
service_names=service_names,
327
start_links=start_links,
328
recreate=recreate
329
)
330
331
+ to_attach = [c for s in self.project.get_services(service_names) for c in s.containers()]
332
+
333
if not detached:
334
print("Attaching to", list_containers(to_attach))
335
log_printer = LogPrinter(to_attach, attach_params={"logs": True})
0 commit comments