dotnet / dotnet/Docker.DotNet

How to use GetContainerLogsAsync

Open
#379 10 comments 1 reaction 0 assignees View on GitHub
Dominant language
C#
Stars
2.4k
Forks
416
PR merge metrics
No merged PRs in 30d

Description

I cannot find a good simple example of how to pull logs for a container. I have tried GetContainerLogsAsync but I dont understand the encoding. I looked at MultiplexedStream on AttachContainerAsync but it shows nothing or I am not using it properly.

Is there a simple example on pulling logs for a currently running container?
Docker v2.0.0 on Windows.
Visual Studio 2017 using C#.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.