Ignore the daemon log config when building images#29552
Conversation
There was a problem hiding this comment.
nit: can you consider adding some description comment to this test?
There was a problem hiding this comment.
What sort of descriptive comment? I prefer to just use a descriptive name.
There was a problem hiding this comment.
I was considering something like // Test for Issue 19259: the daemon log config should be ignored when building images.
But it is ok to use a descriptive name.
Just IMO, TestDaemonLoggingDriverShouldBeIgnoredForBuild would be more descriptive? (too verbose? 😅 )
There was a problem hiding this comment.
Cool, I've updated the test name
|
IMO we should set |
|
Yes, setting changelog SGTM |
|
Per the discussion on #19259 (comment), we could also consider using Alternatively, set |
|
I believe if you use |
0f85707 to
be28ce6
Compare
be28ce6 to
3b86df7
Compare
|
@dnephin I always using |
|
@dnephin needs a rebase 👼 |
3b86df7 to
7af3969
Compare
|
rebased |
|
Still insisting on trying "none" :) |
Logs created by build containers should be handled by the daemon, not by logging drivers. Signed-off-by: Daniel Nephin <dnephin@docker.com>
7af3969 to
80b642f
Compare
|
Looks like |
Fixes #19259
I believe the log config setting should be ignored by the builder. The logs should also be handled by the daemon.