diff --git a/commands/build.go b/commands/build.go index e6a76c7f..97e4aa84 100644 --- a/commands/build.go +++ b/commands/build.go @@ -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 != "" {