We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7c6ab1a + 529a324 commit d467b07Copy full SHA for d467b07
1 file changed
cli/command/image/build.go
@@ -182,6 +182,10 @@ func runBuild(dockerCli command.Cli, options buildOptions) error {
182
remote string
183
)
184
185
+ if options.compress && options.stream {
186
+ return errors.New("--compress conflicts with --stream options")
187
+ }
188
+
189
if options.dockerfileFromStdin() {
190
if options.contextFromStdin() {
191
return errors.New("invalid argument: can't use stdin for both build context and dockerfile")
0 commit comments