close
  • Wa chevron_right

    Removing ANSI Colours from Log Output

    pubsub.slavino.sk / warlord0blog · Friday, 5 August - 16:16 edit

Despite using the --no-color switch for docker logs, I still get colour output. This is frustrating as I just want to throw the output into a file for analysis and the colour codes just add interference, eg. Pipe the output through sed like this and get clean output.

Značky: #Linux, #Docker