Closed monsterooo closed 4 years ago
This is my ruby of code:
require 'docker' container = Docker::Container.get('ba8ef6fcdf01') result = container.attach(:stream => true, :stdin => StringIO.new("console.log(' ->->-> 7 ~~')\n"), :stdout => true, :stderr => true, :logs => true, :tty => true) p '-----------' p result[0] p '-----------' p '>>>>> ', container.logs(stdout: true)
My question is container.logs(stdout: true) can't take latest tty data
container.logs(stdout: true)
Is there anyone willing to help me 😂
This is my ruby of code:
My question is
container.logs(stdout: true)
can't take latest tty dataIs there anyone willing to help me 😂