SyntaxFix
Write A Post
Hire A Developer
Questions
If you work on Windows and use PowerShell (like me), you could use the following line to capture the stdout and stderr:
stdout
stderr
docker logs <containerId> | Out-File 'C:/dev/mylog.txt'
I hope it helps someone!