mirror of https://github.com/docker/docs.git
Merge pull request #1415 from aanand/fix-run-race-condition
Fix race condition in `docker-compose run`
This commit is contained in:
commit
4ef3bbcdf2
|
@ -341,7 +341,6 @@ class TopLevelCommand(Command):
|
||||||
service.start_container(container)
|
service.start_container(container)
|
||||||
print(container.name)
|
print(container.name)
|
||||||
else:
|
else:
|
||||||
service.start_container(container)
|
|
||||||
dockerpty.start(project.client, container.id, interactive=not options['-T'])
|
dockerpty.start(project.client, container.id, interactive=not options['-T'])
|
||||||
exit_code = container.wait()
|
exit_code = container.wait()
|
||||||
if options['--rm']:
|
if options['--rm']:
|
||||||
|
|
Loading…
Reference in New Issue