Setup / Docker improvements
tdurand opened this issue · comments
We are waiting for the upcoming / soon to be release Jetpack 4.2.1, this version should bring native docker support to the jetson and greatly simplify our setup process + unify the setup for jetson and the one for nvidiadocker machines.
Then we should be able to:
- Remove sudo usage in setup script / docker install
- Detect auto webcam video /dev available when running the install script, ask if raspberry cam in case of nano to run the install raspberry cam script
- Add a way to change video input from install command line
- Mount devices (usbcam) auto when starting nvidiadocker container depending on config.json (see #102 )
- Remove Raspberry cam proxy setup for nano (shouldn't be necessary anymore as nvidia will probably add a way to access the raspberry cam within the container)
If jetpack 4.2.1 doesn't comes out:
- Use this docker jetson wrapper instead of ours to avoid having to run the docker container in privileged mode: https://github.com/rbonghi/jetson_stats/blob/master/scripts/jetson-docker
Wait for this until release of jetpack 4.2.1 : #91
It came out with Beta support for docker container 🎉: https://github.com/NVIDIA/nvidia-docker/wiki/NVIDIA-Container-Runtime-on-Jetson
After a quick evaluation of jetpack 4.2.1, seems the docker support for jetson is still a bit beta, and raspberry pi cam isn't supported for now ... Let wait a bit before rewamping all our setup flow.
Let's just mention that opendatacam v2 is compatible with jetpack 4.2.1 .
closing this , obsolete