Parse network-mode on CLI build

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
This commit is contained in:
Ulysses Souza 2020-08-19 22:32:25 +02:00
parent 35f1334cbd
commit 6cebde77fb

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)