Skip to content

Commit

Permalink
use different names for docker containers
Browse files Browse the repository at this point in the history
  • Loading branch information
TillBeemelmanns committed Oct 18, 2023
1 parent 191bc55 commit 0f005ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/ros1_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ DIR="$(cd -P "$(dirname "$0")" && pwd)"
if docker ps --format '{{.Names}}' | grep -q "acdc"; then
docker-run --name acdc
else
docker-run --no-gpu --volume $(dirname "$DIR"):/home/rosuser/ws --image rwthika/acdc:ros1 --workdir="/home/rosuser/ws/catkin_workspace" --name acdc
docker-run --no-gpu --volume $(dirname "$DIR"):/home/rosuser/ws --image rwthika/acdc:ros1 --workdir="/home/rosuser/ws/catkin_workspace" --name acdc_ros1
fi
2 changes: 1 addition & 1 deletion docker/ros2_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ DIR="$(cd -P "$(dirname "$0")" && pwd)"
if docker ps --format '{{.Names}}' | grep -q "acdc"; then
docker-run --name acdc
else
docker-run --no-gpu --volume $(dirname "$DIR"):/home/rosuser/ws --image rwthika/acdc:ros2 --name acdc
docker-run --no-gpu --volume $(dirname "$DIR"):/home/rosuser/ws --image rwthika/acdc:ros2 --name acdc_ros2
fi

0 comments on commit 0f005ad

Please sign in to comment.