Skip to content

Commit cd498ae

Browse files
authored
Merge pull request #1357 from NickeZ/nickez/simulator-expose-port
DX: Publish the simulators port
2 parents 84301a8 + 9fc27de commit cd498ae

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)