I was following the course for Jetson nano, and found the below issue: xxxx@xxxx-desktop : ~ $ ./docker_dli_run.sh
“docker run” requires at least 1 argument.
See ‘docker run --help’.
Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG…]
Run a command in a new container
./docker_dli_run.sh: line 2: --device: command not found
I guess it should jump into the nano. Did I miss anything?
“docker run” requires at least 1 argument.
See ‘docker run --help’.
Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG…]
Run a command in a new container
./docker_dli_run.sh: line 2: --device: command not found
However, I am using a CSI camera (Raspberry Pi) and reinstalling gives the same error. My camera does connect and work on other files. I don’t know why this error is given. Any possible reasons? @AastaLLL
There appears to be a missing “\” after the line that ends with socket in the example shown. Adding the missing “\” allows the script to run as expected.
I had similar issue, but this doesn’t work for me.
I use 12 MP IMX477 from Arducam B0249.
I have error like this:
docker: Error response from daemon: error gathering device information while adding custom device “/dev/video0”: no such file or directory.
marek@jetson-marek:~$ ./docker_dli_run.sh
“docker run” requires at least 1 argument.
See ‘docker run --help’.
Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG…]
Run a command in a new container
marek@jetson-marek:~$
marek@jetson-marek:~$
sumarek@jetson-marek:~$ sudo docker run --runtime nvidia -it --rm --network host --volume ~/nvdli-data:/nvdli-no/data --volume /tmp/argus_socket:/tmp/argus_socket --device /dev/video0 nvcr.io/nvidia/dli/dli-nano-ai:v2.0.1-r32.4.4
docker: Error response from daemon: error gathering device information while adding custom device “/dev/video0”: no such file or directory.
There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks
Outside of the container, try running nvgstcapture-1.0
It should show the camera feed if it is working.
Note, in the example it shows to use " --device /dev/video0" even for the MIPI CSI camera. It just states to add the socket line : --volume /tmp/argus_socket:/tmp/argus_socket
Hi @jonnymovo, if you have a MIPI CSI camera connected, typically a /dev/video0 device will be created for it (but this V4L2 device for the CSI camera will be without ISP applied - i.e. in raw format, without debayering). So the MIPI CSI cameras should not typically be used through the V4L2 device, although it is fine to have it on the Docker run command. In the notebooks for this container, the CSI cameras are indeed used through the GStreamer nvarguscamerasrc element and not the V4L2 way.
Since the user above was having trouble with their IMX477 camera driver (which wasn’t created the /dev/video0 node for it), I suggested they remove it from the Docker run command so it would allow them to start the container.
Hi @zsirosbence, generally you would see that kind of error if you were trying to run a version of the container that was not built against the version of JetPack-L4T you are running. If you run cat /etc/nv_tegra_release, which version of L4T does it report you are running? It should match the one in the container tag (i.e. the r32.4.4 part)