Skip to content

(WSL2) docker build "output clipped, log limit 1MiB reached" #10839

@fcharron83

Description

@fcharron83
  • 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

  1. Start a lengthy DOCKER_BUILDKIT=1 docker build... operation that produces a lot of output logs on stdout/stderr (no flags except --tag and --file)
  2. Notice the output clipped, log limit 1MiB reached, and the absence of output afterward

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions