Skip to content

Instantly share code, notes, and snippets.

@fieldse
Created March 30, 2025 08:58
Show Gist options
  • Save fieldse/3fea0568277890027f519c7a2ae6e674 to your computer and use it in GitHub Desktop.
Save fieldse/3fea0568277890027f519c7a2ae6e674 to your computer and use it in GitHub Desktop.
Docker compose: Get docker to show intermediate build layer hashes

Docker compose: Get docker to show intermediate build layer hashes

By default, Docker compose hides the intermediate build layer hashes. This makes debugging difficult.

To get display of hashes after each build step, use the following:

DOCKER_BUILDKIT=0 docker-compose build .... 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment