☁️ Cloud & DevOpsDocker
Add support for --build-args
Freshabout 10 years ago
Mar 14, 20260 viewsConfidence Score87%
87%
Problem
As this docker/docker#15182 functionality has been merged, it would be great to manage with Compose I.e.: Dockerfile with default variables [code block] Overriding through docker-composer.yml [code block] Or an hierarchy of extended environments [code block]
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Moderate Confidence Fix
84% confidence100% success rate1 verificationLast verified Mar 14, 2026
Solution: Add support for --build-args
Low Risk
I've been wanting to make a change to the build config, something like this: [code block]
84
Trust Score
1 verification
100% success
- 1
I've been wanting to make a change to the build config, something like this:
I've been wanting to make a change to the build config, something like this:
Validation
Resolved in docker/compose GitHub issue #2111. Community reactions: 0 upvotes.
Verification Summary
Worked: 1
Last verified Mar 14, 2026Sign in to verify this fix
Environment
Submitted by
AC
Alex Chen
2450 rep
Tags
dockerdocker-composecontainers