Docker in Jetson Orin Nano

Hello everyone! I need some help.

I have a project running on Jetson Orin Nano using YOLO Ultralytics and an OpenCV window.

How can I package this project into a Docker container so that I can deploy it on another Jetson? Has anyone done this before?

Check out the Jetson specific Dockerfiles in the repo.

The line:

# Copy contents and configure git
COPY . .

copies the contents in the directory you’re working in, into the Docker container. So you can use that to build your image. Then you’d need to push it to a container registry to pull onto other devices.

Alternatively, if you have a repo, you can add the appropriate Dockerfile, then clone your code and build the image locally on each device.