-
Notifications
You must be signed in to change notification settings - Fork 121
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
Buildx unknown flag: --output
when HOME env var is missing
#7228
Comments
Do you have full build logs and full invoked command as well please? |
Full command is in reproduce. There are no build logs
|
Semi-related, it seems buildx config problems might be propagating as as various |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When
HOME
environment variable isn't set,buildx
fails with a confusing error message aboutunknown flag: --output
Reproduce
Run Docker without
HOME
set (env -i
)Expected behavior
At the very least, a better error message. I assume this is used in some sort of config lookup.
Ideally allow falling back to an alternative method to match how Linux works (Docker on Linux seems work without HOME set)
docker version
docker info
Diagnostics ID
17B2BE18-161E-4E41-8B11-DF9220B867D7/20240326124035
Additional Info
pants
build tool attempts to runDocker
in a minimal sandbox which is where this issue was discovered pantsbuild/pants#20605The text was updated successfully, but these errors were encountered: