Open vadysa opened 11 months ago
The docker log output is not an interactive environment so progress and similar will not work, so it falls back to safe rendering. This is by design.
We could however consider making the columns configurable for the fallback renderer as well.
Jumping on this to see is there are workarounds. Would clearing the previous line be an option? In my case I do want to see progress, but I really don't need things like the spinner or bar, I'm fine with a percentage.
Information
Describe the bug When running the C# code using AnsiConsole.Progress() with custom progress columns on both Windows and Linux, it works as expected. However, when running the same code within a Docker container, the custom progress columns do not appear, and it seems to use default settings.
To Reproduce Steps to reproduce the behavior:
1) Run the C# code using AnsiConsole.Progress() with custom progress columns on a Windows or Linux host machine. Observe that the custom columns are displayed correctly. 2) Run the same C# code within a Docker container, and observe that the custom columns are not displayed as expected.
Expected behavior When running the C# code within a Docker container, the custom progress columns should be displayed just like on a Windows or Linux host machine.
Screenshots Windows:
![image](https://github.com/spectreconsole/spectre.console/assets/53491873/bdef717f-acf5-40c3-af43-f424155695f7)
![image](https://github.com/spectreconsole/spectre.console/assets/53491873/80718223-406e-4eb2-b7ae-d27cdec3d3f3)
Docker:
Additional context It appears that there might be an issue or misconfiguration specific to running the code within a Docker container that causes the custom progress columns to not be displayed. Investigating Docker-related configurations and environment settings may be necessary to resolve this issue.
Please upvote :+1: this issue if you are interested in it.