pepperann
pepperann

Reputation: 159

how to implement docker command "docker logs -f ......" display color

i run docker command "docker run -t XXXXXX" can display log color, but "docker logs -f XXXXXX" don't display log color, how can i implement it by "docker logs -f"

Upvotes: 0

Views: 216

Answers (1)

Harsh Manvar
Harsh Manvar

Reputation: 30113

you can use GRC and add it with command as pipeline

docker logs test-demo | grc

Upvotes: 1

Related Questions