added volume

This commit is contained in:
Jakub Delicat 2023-01-20 15:23:35 +01:00
parent 47eb5e389a
commit c26ea1b9dc

2
run.sh
View File

@ -3,7 +3,7 @@
echo "ID: $PIONIER_ID" echo "ID: $PIONIER_ID"
docker run -d --privileged --network=host --device=/dev/ttyS0 -i -e ROS_IP=$(hostname -I | awk '{print $1}') -e PIONIER_ID=$(hostname | sed 's/[^0-9]//g' docker run -d --privileged --network=host --device=/dev/ttyS0 -i -e ROS_IP=$(hostname -I | awk '{print $1}') -e PIONIER_ID=$(hostname | sed 's/[^0-9]//g'
) irth7/rosaria-legacy ) --mount type=bind,source=/home/lab1_5/rosaria/Legacy/ws_linux,target=/home/lab1_5/ws/ws_linux irth7/rosaria-legacy
if [ -e "/dev/decawave" ]; then if [ -e "/dev/decawave" ]; then
echo "found tag" echo "found tag"