Skip to content

Commit 9fc27de

Browse files
committed
DX: Publish the simulators port
This commit publishes the simulators default port 15423 on the development container so that processes on the host can access it
1 parent 84301a8 commit 9fc27de

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/dockerenv.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,15 @@ dockerdev () {
7272
$RUNTIME rm "$CONTAINER_NAME"
7373
fi
7474

75-
# SYS_PTRACE is needed to run address sanitizer
75+
# * `SYS_PTRACE` is needed to run address sanitizer
76+
# * `-p 15423` publishes the default port the simulator listens on
7677
$RUNTIME run \
7778
--detach \
7879
--interactive --tty \
7980
--name="$CONTAINER_NAME" \
8081
-v "$repo_path":"$MOUNT_DIR" \
8182
--cap-add SYS_PTRACE \
83+
-p 15423:15423 \
8284
${CONTAINER_IMAGE}:${CONTAINER_VERSION} bash
8385

8486
if [ "$RUNTIME" = "docker" ] ; then

0 commit comments

Comments
 (0)