cross_compile_jetson_nano

Docker image for cross compiling on host x86_64 for target aarch64 (jetson nano).

Building your own container image

  • Build this container image
docker build -t cross_compile_jetson_nano .
  • Run the container
docker run -ti --rm --name test-slave cross_compile_jetson_nano
root@xxxxxxxxxxxx:/# ...
root@xxxxxxxxxxxx:/# exit
  • Stop the container
docker stop test-slave
  • Remove the container
docker rm test-slave
  • Remove the container image
docker rmi cross_compile_jetson_nano

Working with pre-build containers

  • Pull the container
docker pull <docker-image-url>
  • Run the container
docker run -ti --rm --name test-slave -v ~/.ssh/:/root/.ssh/ <docker-image-url>
root@xxxxxxxxxxxx:/# ...
root@xxxxxxxxxxxx:/# exit
  • Remove the container
docker rm test-slave
  • Remove the container image
docker rmi <docker-image-url>