You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Request]: Support the BUILDKIT_COLORS environment variable for customizing console output. #915
The default color scheme for buildkit/buildctl is awful for dark backgrounds and buildkit has support for modifying colors (as I wrote it), but locally set environment variables do not seem to be passed all the way through with container, or it is using a very old version of buildkit/buildctl.
It would be VERY useful to be able to set these as usual using something like:
export BUILDKIT_COLORS=run=green:warning=yellow:error=red:cancel=cyan and export NOCOLOR.
@spkane Hello! @sarasando and I are students from UT Austin and looking to complete one more issue for our Virtualization class. Would we be able to close this one?
@jplogan We're thinking of modifying BuilderStart.swift so that the BuildKit container inherits the user's color environment variables from the host (BUILDKIT_COLORS, NO_COLOR, NOCOLOR). The values will get read and merged into the environment array passed to ProcessConfiguration when the builder container is created.
For changes to active builders, we're thinking of stopping them and recreating them so the new settings apply. How does that sound?
Activity
karenheckel commentedon Dec 5, 2025
@spkane Hello! @sarasando and I are students from UT Austin and looking to complete one more issue for our Virtualization class. Would we be able to close this one?
spkane commentedon Dec 5, 2025
jglogan commentedon Dec 5, 2025
@karenheckel Assigned! Do you have a sense for how to go about this one?
karenheckel commentedon Dec 7, 2025
@jplogan We're thinking of modifying BuilderStart.swift so that the BuildKit container inherits the user's color environment variables from the host (BUILDKIT_COLORS, NO_COLOR, NOCOLOR). The values will get read and merged into the environment array passed to ProcessConfiguration when the builder container is created.
For changes to active builders, we're thinking of stopping them and recreating them so the new settings apply. How does that sound?
Feat: customize console output with env variable (#952)
Squashed commit of the following:
Squashed commit of the following:
Squashed commit of the following:
Feat: customize console output with env variable (apple#952)