Skip to content

Commit

Permalink
fix: Added correct mount volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
hmiranda-queiros committed Nov 5, 2023
1 parent 884f708 commit 25e95dc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docker_foxy_desktop/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ ls -FAlh $XAUTH
echo ""
echo "Running docker..."

# Get the current working directory
current_dir=$(pwd)

# Use dirname to get the parent directory
parent_dir=$(dirname "$current_dir")

docker run -it \
--name nav_foxy_desktop \
--rm \
Expand All @@ -39,4 +45,6 @@ docker run -it \
-v $XAUTH:$XAUTH \
-v /run/user/1000/at-spi:/run/user/1000/at-spi \
-v /dev:/dev \
-v $parent_dir:/home/xplore/dev_ws/src \
-v nav_foxy_desktop_home_volume:/home/xplore \
ghcr.io/epflxplore/nav:foxy-desktop

0 comments on commit 25e95dc

Please sign in to comment.