We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ab00c7 commit 72d83e5Copy full SHA for 72d83e5
files/build_templates/docker_image_ctl.j2
@@ -612,7 +612,7 @@ start() {
612
# TODO: Mellanox will remove the --tmpfs exception after SDK socket path changed in new SDK version
613
{%- endif %}
614
docker create {{docker_image_run_opt}} \
615
-{%- if docker_container_name != "dhcp_server" %}
+{%- if docker_container_name != "dhcp_server" and '--net' not in docker_image_run_opt %}
616
--net=$NET \
617
618
-e RUNTIME_OWNER=local \
0 commit comments