Add your personal preferences to the tools dockerfile. You may also add your own underlay repositories here underlay.repos. These will be automatically cloned, built, and sourced in the /opt/underlay_ws folder. All other development will occur in /opt/overlay_ws, which is mounted from the workspace/src directory.
To build the image, run the following command:
make build_ros_noetic_full
make run_ros_noetic_full
Check the container ID first four digits
docker container ls -a
Then start the container
make start_ros_noetic [Container ID (first four digits)]
Using Rocker is currently under development. It has an issue where tmp files are deleted when a container is stopped, preventing you from starting a container. It can still technically be used if you never stop the container.
If you would like to use rocker, a tool to run doker images with customized local support injected. Then run the install script.
source ./scripts/install_rockers.sh
Run container with rocker
make run_rocker_noetic
If you used Rocker, reactivate the venv using the activate script.
source ./scripts/activate_rocker_venv.sh
In either workflow, check the container ID first four digits
docker container ls -a
Then start the container
make start_ros_noetic [Container ID (first four digits)]