Hello,
I am trying to install and flash AGX with dockerized SDKManager for Ubuntu-18.
The following command: docker run -it --network host --rm --privileged -v /dev/bus/usb:/dev/bus/usb/ -v /dev:/dev -v /media/$USER:/media/nvidia:slave -v ./data/flasher-downloads:/home/nvidia/Downloads sdkmanager:2.2.0.12028-Ubuntu_18.04 --cli
Yields an error: docker: Error response from daemon: path /host_mnt/media/jj is mounted on /host_mnt/media but it is not a shared or slave mount
If I remove the :slave suffix, the entire installation process goes as normal, but the container is unable to detect connected USB devices (lsusb gives nothing).
Setup details:
Host system is Ubuntu 22.
I have bound the nvidia/Downloads folder to have be able to modify and flash custom images
I did some experimentation with dockerized and virtualized flashers, I kept encountering various problems. For now I decided to flash the boards “the old way”.