Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 977 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 977 Bytes

🐋 mcav-docker

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.

Requirements

Docker: sudo apt-get install docker.io

Nvidia-docker2 (For optional GPU support)

How to use

First run

This will build the image if it doesn't exist and enter the container automatically.

  • cd minidrone
  • docker/run.sh

Rebuild the image

  • docker/run.sh build

Create a new container from the most recently built image

  • docker/run.sh rm (removes the existing container)
  • docker/run.sh