-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Container build fails after docker log limit reached #272
Comments
Per docker/buildx#484, that log clipping is coming from BuildKit, not Docker. I see You might need to poke around in the above-linked issue to work out how correctly tell BuildKit to allow a larger step log. It seems like maybe you need to create a new builder with the larger log limit? I don't have the code in front of me, but I don't recall if we have a way for the ue4-docker command to be told to use a different buildx builder than the default, and that issue didn't seem to have a way to change the A workaround would be to use ue4-docker's "layout" mode to export the desired build as a Dockerfile, and then execute it using something like docker/buildx#484 (comment) (although that's going to create a new builder each time, so consider refining it if you go this way) |
I suspect that BUILDKIT_STEP_LOG_MAX_SIZE needs to be in env variables of docker daemon. |
To be honest, I completely forgot about this weird log thing when did #229. |
This issue was ultimately resolved by adding the following to
|
Output of the
ue4-docker info
command:ue4-docker.txt
Additional details:
I am attempting to build a ue4-engine image using ue4-docker running in a container built by the following Dockerfile:
and invoked by the following gitlab-ci job.
This job fails after ~45 minutes. Unfortunately, it is impossible to tell what is failing because the docker logs are getting clipped ~26 minutes into the build with
[output clipped, log limit 1MiB reached]
Is there any way to reduce the log output produced by ue4-docker?
Alternatively, what configuration changes can be made to increase the docker build log size limit?
The text was updated successfully, but these errors were encountered: