Run ROS Indigo / Ubuntu Trusty within Docker on Ubuntu Xenial or on any platform with a shared username, home directory, and X11.
This enables you to build and run a persistent ROS Indigo workspace as long as you can run Docker images.
Note that any changes made outside of your home directory from within the Docker environment will not persist. If you want to add additional binary packages without having to reinstall them each time, add them to the Dockerfile and rebuild.
For more info on Docker see here: https://docs.docker.com/engine/installation/linux/ubuntulinux/
This will create the image with your user/group ID and home directory.
./build.sh IMAGE_NAME
This will run the docker image.
./run.sh IMAGE_NAME
This will execute a new teminal in the running docker container.
(CONTAINER_ID can be found with the command docker ps
)
./exec.sh CONTAINER_ID
To be able to clone the supairvision files, you must have a .ssh folder with your ssh keys where you run this script.
The image shares it's network interface with the host, so you can run this in multiple terminals for multiple hooks into the docker environment.
🐳