We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5061875 commit 94e15a9Copy full SHA for 94e15a9
1 file changed
fig/cli/main.py
@@ -227,11 +227,11 @@ def run(self, options):
227
}
228
container = service.create_container(one_off=True, **container_options)
229
if options['-d']:
230
- service.start_container(container, ports=None)
+ service.start_container(container, ports=None, one_off=True)
231
print(container.name)
232
else:
233
with self._attach_to_container(container.id, raw=tty) as c:
234
235
c.run()
236
if options['--rm']:
237
container.wait()
0 commit comments