Skip to content

vrx_classic_docker_build_run_tutorial

M1chaelM edited this page May 5, 2023 · 1 revision

Build the VRX Image

Once you've installed the dependencies, you can build your Docker development environment with the following commands:

git clone https://github.com/Field-Robotics-Lab/dockwater.git
cd dockwater
./build.bash noetic
./run.bash dockwater:noetic

If the above is successful, you should end up with a command prompt opened into the Docker container. Your user information will be the same and your home directory will be mounted and accessible within the container.

Notes

  • The build.bash and run.bash scripts may take a few minutes the first time they run.
  • Code for the Docker development images is hosted in the dockwater repository. See the repository wiki for more information about this project and supported use cases.

Open Additional Terminals

When working with the VRX simulation platform, it is often useful to open multiple bash terminals. The join.bash script provides an easy way to do this for users running the VRX Docker container. Simply run

./join.bash dockwater_noetic_runtime

to open a new bash session inside the container. Note that the name of the container is set in the run.bash script. If in doubt, you can list currently running containers using the docker container ls command.

Clone this wiki locally