-
Notifications
You must be signed in to change notification settings - Fork 303
(WSL2) docker build "output clipped, log limit 1MiB reached" #10839
Copy link
Copy link
Closed
Labels
Description
- I have tried with the latest version of Docker Desktop
- I have tried disabling enabled experimental features
- I have uploaded Diagnostics
- Diagnostics ID:
Actual behavior
When performing lengthy docker build operations using DOCKER_BUILDKIT=1 (but not buildx), the command stops outputting logs with the output clipped, log limit 1MiB reached message, until the build is over.
Expected behavior
Allow customization of this 1MiB log limit setting either via a config file, or the Docker Desktop - Docker Engine settings page.
Information
- Windows Version: Windows 10 Enterprise, version 20H2 (OS Build 19042.867)
- Docker Desktop Version: 3.2.2 (61853)
- WSL2 or Hyper-V backend? WSL2
- Are you running inside a virtualized Windows e.g. on a cloud server or a VM: No, native Windows
Problem is reproducible, and AFAIK is not new.
A similar issue has been opened for docker buildx, but I am not running buildx because it is experimental and I am in a production environment.
Steps to reproduce the behavior
- Start a lengthy
DOCKER_BUILDKIT=1 docker build...operation that produces a lot of output logs on stdout/stderr (no flags except--tagand--file) - Notice the output clipped, log limit 1MiB reached, and the absence of output afterward
Reactions are currently unavailable