Skip to content

Commit

Permalink
set --workdir on container start
Browse files Browse the repository at this point in the history
  • Loading branch information
dusty-nv committed Jun 20, 2024
1 parent 19b8153 commit e8361ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ if [ $ARCH = "aarch64" ]; then
-v /tmp/nv_jetson_model:/tmp/nv_jetson_model \
-v /var/run/dbus:/var/run/dbus \
-v /var/run/avahi-daemon/socket:/var/run/avahi-daemon/socket \
-w $DOCKER_ROOT \
$DISPLAY_DEVICE $V4L2_DEVICES \
$DATA_VOLUME $USER_VOLUME $DEV_VOLUME \
$CONTAINER_IMAGE $USER_COMMAND
Expand All @@ -220,6 +221,7 @@ elif [ $ARCH = "x86_64" ]; then
--ulimit memlock=-1 \
--ulimit stack=67108864 \
-e NVIDIA_DRIVER_CAPABILITIES=all \
-w $DOCKER_ROOT \
$DISPLAY_DEVICE $V4L2_DEVICES \
$DATA_VOLUME $USER_VOLUME $DEV_VOLUME \
$CONTAINER_IMAGE $USER_COMMAND
Expand Down

0 comments on commit e8361ae

Please sign in to comment.