Contains Dockerfiles and a run script.
The run.sh
script automatically determines whether it is being run on a Jetson or x86 device, and whether a GPU is available, and builds and runs the appropriate image and container.
The minidrone
directory is mounted as a volume so it can be accessed from inside and outside the container.
Networking and GUIs should work as normal inside and outside.
Docker: sudo apt-get install docker.io
Nvidia-docker2 (For optional GPU support)
This will build the image if it doesn't exist and enter the container automatically.
cd minidrone
docker/run.sh
docker/run.sh build
docker/run.sh rm
(removes the existing container)docker/run.sh