From 81b35147e4432b4e19d990fd52aea280d0fb7367 Mon Sep 17 00:00:00 2001 From: Tibor Vass Date: Tue, 16 Apr 2019 23:37:23 +0000 Subject: [PATCH] build: do not error out if --network is default Signed-off-by: Tibor Vass --- commands/build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 != "" {