build: do not error out if --network is default

Signed-off-by: Tibor Vass <tibor@docker.com>
pull/26/head
Tibor Vass 6 years ago
parent b6de0fa0ff
commit 81b35147e4

@ -71,7 +71,7 @@ func runBuild(dockerCli command.Cli, in buildOptions) error {
if in.quiet {
return errors.Errorf("quiet currently not implemented")
}
if in.networkMode != "" {
if in.networkMode != "default" {
return errors.Errorf("network currently not implemented")
}
if in.imageIDFile != "" {

Loading…
Cancel
Save