We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
--compression
Add --compression flag as a shorthand for: -o type=image,compression=<X>
-o type=image,compression=<X>
-docker build -t asdf -o type=image,compression=zstd +docker build -t asdf --compression zstd
-docker build -t asdf -o type=image,compression=uncompressed +docker build -t asdf --compression uncompressed
compression-level
-docker build -t asdf -o type=image,compression=zstd,compression-level=1 +docker build -t asdf --compression zstd:1
uncompressed
Optionally, provide none/false value as a shorthand for uncompressed:
none
false
-docker build -t asdf -o type=image,compression=uncompressed +docker build -t asdf --compression none
-c/--compressed
-docker build -t asdf -o type=image,compression=uncompressed +docker build -t asdf -c none
The text was updated successfully, but these errors were encountered:
Note that -o is an array of outputs
-o
Edit: Reading again it looks like you are suggesting not modifying -o but inserting. In that case, outputs like oci, docker also create images.
oci
docker
Sorry, something went wrong.
No branches or pull requests
Description
Add
--compression
flag as a shorthand for:-o type=image,compression=<X>
Examples
Further enhancements
Also support
compression-level
Shorthand for
uncompressed
valueOptionally, provide
none
/false
value as a shorthand foruncompressed
:Short flag
-c/--compressed
The text was updated successfully, but these errors were encountered: