Skip to content

Commit

Permalink
Updated docker tutorial to point to correct VM home directory
Browse files Browse the repository at this point in the history
  • Loading branch information
marip8 authored and Levi-Armstrong committed Feb 25, 2019
1 parent ff02d10 commit 8120aa5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gh_pages/_source/session6/Docker-AWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ docker run --network=host rosindustrial/fetch:indigo roslaunch fetch_gazebo play
```
run the gazebo web server:
```
docker run -v "/home/aderic/roscloud/training/front_ws/src/fetch_gazebo/fetch_gazebo/models/test_zone/meshes/:/root/gzweb/http/client/assets/test_zone/meshes/" -v "/home/aderic/roscloud/training/front_ws/src/fetch_ros/fetch_description/meshes:/root/gzweb/http/client/assets/fetch_description/meshes" -it --network=host giodegas/gzweb /bin/bash
docker run -v "/home/ros-industrial/roscloud/training/front_ws/src/fetch_gazebo/fetch_gazebo/models/test_zone/meshes/:/root/gzweb/http/client/assets/test_zone/meshes/" -v "/home/ros-industrial/roscloud/training/front_ws/src/fetch_ros/fetch_description/meshes:/root/gzweb/http/client/assets/fetch_description/meshes" -it --network=host giodegas/gzweb /bin/bash
```
then run the server:
```
Expand All @@ -65,7 +65,7 @@ In terminal 1 we will load a robot to the parameter server
```
mkdir -p abb_ws/src
git clone -b kinetic-devel https://github.com/ros-industrial/abb.git
docker run -v "/home/aderic/roscloud/training/abb_ws:/abb_ws" --network=host -it rosindustrial/core:melodic /bin/bash
docker run -v "/home/ros-industrial/roscloud/training/abb_ws:/abb_ws" --network=host -it rosindustrial/core:melodic /bin/bash
cd abb_ws
catkin build
source devel/setup.bash
Expand All @@ -85,6 +85,6 @@ cp -r abb_ws/src/abb/abb_irb5400_support/ www/
<script src="https://gist.github.com/AustinDeric/ed046693bed9e55dfbe546fe8d479284.js"></script>

```
docker run -v "/home/aderic/roscloud/training/www:/data/www" -v "/home/aderic/roscloud/training/nginx_conf/:/etc/nginx/local/" -it --network=host rosindustrial/nginx:latest /bin/bash
docker run -v "/home/ros-industrial/roscloud/training/www:/data/www" -v "/home/ros-industrial/roscloud/training/nginx_conf/:/etc/nginx/local/" -it --network=host rosindustrial/nginx:latest /bin/bash
nginx -c /etc/nginx/local/nginx.conf
```

0 comments on commit 8120aa5

Please sign in to comment.