debugging

This commit is contained in:
Jan Renz
2015-04-14 16:54:23 +02:00
parent a410696438
commit 0b7ae86a69

View File

@ -167,7 +167,7 @@ class DockerClient
# thats why we use exec. If its ok do stop the container this could be assign instead
#container.exec(command) do |stream, chunk|
container.attach(stdin: StringIO.new(command)) do |stream, chunk|
end
block.call(stream, chunk) if block_given?
if stream == :stderr
stderr.push(chunk)