Skip to content

Commit

Permalink
update run script
Browse files Browse the repository at this point in the history
  • Loading branch information
hzheng40 committed Feb 17, 2022
1 parent 4fb9c71 commit a2b983b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ mkdir -p $HOME/f1tenth_ws
sudo xhost +si:localuser:root

# run container with privilege mode, host network, display, and mount workspace on host
sudo docker run --runtime nvidia -it --rm --privileged --network host -e DISPLAY=$DISPLAY \
sudo docker run --runtime nvidia -it --privileged --network host -e DISPLAY=$DISPLAY \
-v /tmp/.X11-unix/:/tmp/.X11-unix -v /dev:/dev \
--mount type=volume,dst=/f1tenth_ws,volume-driver=local,volume-opt=type=none,volume-opt=o=bind,volume-opt=device=$HOME/f1tenth_ws \
f1tenth/focal-l4t-foxy:f1tenth-stack

0 comments on commit a2b983b

Please sign in to comment.