Merge pull request #7689 from ulyssessouza/parse_build_cli_network-mode

Parse network-mode on CLI build
This commit is contained in:
Anca Iordache 2020-08-20 18:29:54 +02:00 committed by GitHub
commit c3f26bf511
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1845,6 +1845,7 @@ class _CLIBuilder:
command_builder.add_flag("--force-rm", forcerm)
command_builder.add_params("--label", labels)
command_builder.add_arg("--memory", container_limits.get("memory"))
command_builder.add_arg("--network", network_mode)
command_builder.add_flag("--no-cache", nocache)
command_builder.add_arg("--progress", self._progress)
command_builder.add_flag("--pull", pull)