Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix docker#1610: #run command exits if there is any DockerApi connect…
…ive issue When #docker-compose #up command is used, it may attach to user #tty to print logs. During an #up session, if #docker daemon is restarted (any reason), #docker-compose is unable to reconnect to #docker Api (#docker-compose should has a #reconnect feature). it will print ConnectionError exception to #stdout, and keeps running without any useful information, while all project containers actually exit. This fix is useful when you use #supervisor to launch "#docker-compose up". Signed-off-by: Ky-Anh Huynh <[email protected]>
- Loading branch information