Expose ports 9000-9050 for console connections outside docker

This commit is contained in:
Mattias Walström
2023-11-17 07:19:28 +01:00
committed by Joachim Wiberg
parent 0b1bd9e8a0
commit 4768cae603
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -138,6 +138,7 @@ if [ "$containerize" ]; then
exec $runner run \
--cap-add=NET_ADMIN \
--device=/dev/net/tun \
--expose 9000-9050 \
--interactive \
--rm \
--security-opt seccomp=unconfined \
+2
View File
@@ -20,11 +20,13 @@ graph "dual" {
label="{ <eth0> eth0 | <eth1> eth1 | <eth2> eth2 } | dut1 | { <eth3> eth3 | <eth4> eth4 | <eth5> eth5 }",
pos="10,18!",
kind="infix",
qn_console=9001
];
dut2 [
label="{ <eth0> eth0 | <eth1> eth1 | <eth2> eth2 } | dut2 | { <eth3> eth3 | <eth4> eth4 | <eth5> eth5 }",
pos="10,12!",
kind="infix",
qn_console=9002
];
host:d1a -- dut1:eth0 [kind=mgmt]