C
C#2mo ago
KaenguruuDev

Capture python console output with Docker.DotNet package

So I am uing the Docker.DotNet package to instantiate docker containers and execute python scripts on them. The issue is, that for some reason, while I can get for example an echo command to be redirected into my custom logging code, when I execute a python command, that command is still directly printed to my console instead of getting redirected to my logging. I am using DockerClient.Containers.GetContainerLogsAsync to capture the logs
No description
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?