Skip to content

Commit 1aa0242

Browse files
committed
revert back stream parameter for logContainer
1 parent c94e274 commit 1aa0242

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/kpelykh/docker/client/DockerClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ public ClientResponse logContainer(String containerId) throws DockerException {
442442
params.add("logs", "1");
443443
params.add("stdout", "1");
444444
params.add("stderr", "1");
445-
params.add("stream", "1");
445+
//params.add("stream", "1"); this parameter keeps stream open indindefinitely
446446

447447
WebResource webResource = client.resource(restEndpointUrl + String.format("/containers/%s/attach", containerId))
448448
.queryParams(params);

0 commit comments

Comments
 (0)