Ansi color codes not working in circleci



I can get color output from bash scripts called from build steps (using ANSI codes) but stdout from a docker run does not render with color. I’m using serilog with AnsiConsoleTheme.Code chosen for the console logger. When I run it locally both as a docker container or just on CLI it works fine and colors are output. But when it runs inside CCI no color. I’m guessing it’s something related to converting ANSI codes to HTML?