Turn off log synchronization for websockets. Otherwise, we can't reuse the containers (and terminals)

This commit is contained in:
Ralf Teusner
2015-10-28 16:42:34 +01:00
parent 58b137408e
commit b89bd9d521

View File

@ -62,7 +62,7 @@ class DockerClient
def create_socket(container, stderr=false)
# todo factor out query params
# todo separate stderr
query_params = 'logs=1&stream=1&' + (stderr ? 'stderr=1' : 'stdout=1&stdin=1')
query_params = 'logs=0&stream=1&' + (stderr ? 'stderr=1' : 'stdout=1&stdin=1')
# Headers are required by Docker
headers = {'Origin' => 'http://localhost'}