We use docker to setup enviroment.
-
Just run docker container building script.
cd docker bash build_docker.sh --platform=nvidia_gpu # rk3588/jetson
-
Run script to get into container.
bash docker/into_docker.sh
-
docker
is needed on your machine. You could use scripts to easily install docker.wget http://fishros.com/install -O fishros && . fishros
-
On
jetson
platform,docker
is pre-installed with jetpack. There is no need to install docker again. -
On
nvidia_gpu
platform,nvidia-container-runtime
is needed by docker to use gpu and cuda. Please make sure it is installed and configured with docker daemon.cat /etc/docker/daemon.json # `nvidia` should be in runtimes list
-
Downloading packages from
github
during docker image building may break up. Usegithub
proxy from repo gh-proxy to speed it up.