Skip to content

Instantly share code, notes, and snippets.

@ikasty
Last active February 1, 2019 21:47
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ikasty/ae76beb34be3d12b66947ebf0872602b to your computer and use it in GitHub Desktop.
Save ikasty/ae76beb34be3d12b66947ebf0872602b to your computer and use it in GitHub Desktop.
'Cat' solution for colorized logs in docker-compose

When you use docker-compose, logs are not colorized like: before

However, you can get colorized logs using really-cute-'cat' solution. Instead of

docker-compose up

using

docker-compose up | cat

after

@ikasty
Copy link
Author

ikasty commented Sep 13, 2016

Before:
before
After:
after

@pocesar
Copy link

pocesar commented Nov 23, 2016

clever trick, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment