Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

make color assignment predictable and option to disable prefixes/colors #1285

Merged
merged 4 commits into from
Feb 12, 2021

Conversation

ndeloof
Copy link
Collaborator

@ndeloof ndeloof commented Feb 12, 2021

What I did
Register containers being attached sorted by name before we start pulling logs. Doing so assigned color is predictable
Also introduce --no-color and --no-log-prefix for parity with docker-compose

fix #1271
fix #1270

(not mandatory) A picture of a cute animal, if possible in relation with what you did
image

@github-actions github-actions bot added api api cli cli local Local context (moby) labels Feb 12, 2021
@ndeloof ndeloof force-pushed the predictable_colors branch 2 times, most recently from 8e94442 to 337a0ec Compare February 12, 2021 14:28
@ndeloof ndeloof merged commit a69aa3d into main Feb 12, 2021
@ndeloof ndeloof deleted the predictable_colors branch February 12, 2021 19:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api api cli cli local Local context (moby)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support compose logs --no-log-prefix Support compose logs --no-color
1 participant