nerdctl
nerdctl copied to clipboard
`nerdctl build` should accept `--output <DIR`> as an alias of `--output type=local,dest=<DIR>`
Description
nerdctl build should accept --output <DIR> as an alias of --output type=local,dest=<DIR>, as in docker build.
Steps to reproduce the issue
nerdctl build --output . .
Describe the results you received and expected
Received: error: invalid value .
Expected: Should work as --output type=local,dest=$(pwd)
What version of nerdctl are you using?
nerdctl version 0.23.0-26-g67c0f59
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
No response
Host information
No response
I think this can be a good first issue? cc @AkihiroSuda
Assign me plz