Docker Community Forums

Share and learn in the Docker community.

Output colors in powershell console

(Fpellet) #1

Expected behavior

See beautiful color in powershell :slight_smile:

Actual behavior

See color codes and break output formatting


Powershell :
Expected :
Thanks to store image, I don’t allow to use upload of your site (new user)

For me it’s not important, I don’t use powershell console, but I think it’s your target

(Michael Friis) #2

Hm, interesting. Using PowerShell on my machine the output is correct but with no color. - what’s your output of $PSVersionTable.PSVersion?

(Fpellet) #3

(David Gageot) #4

@friism , I guess you are running Powershell inside a terminal application like ConEmu right?

@fpellet I guess you tried with a vanilla Powershell.

Powershell and cmd.exe don’t support ANSI codes which docker-compose is using.
It’s implements in docker CLI though:


(Michael Friis) #5

@dgageot you’re right