Command "echo " ./docker_dli_run.sh" fails with error

I am following all the setup commands of Headless Device Mode but after successfully making the directory . I uses the command:-

echo “sudo docker run --runtime nvidia -it --rm --network host
–volume ~/nvdli-data:/nvdli-nano/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_dli_run.sh

> ```
./docker_dli_run.sh

this run command gives me the error

docker: Error response from daemon: OCI runtime create failed: container_linux.go:344: starting container process caused “process_linux.go:424: container init caused "process_linux.go:407: running prestart hook 0 caused \"error running hook: exit status 1, stdout: , stderr: exec command: [/usr/bin/nvidia-container-cli --load-kmods configure --ldconfig=@/sbin/ldconfig.real --device=all --compute --compat32 --graphics --utility --video --display --pid=9335 /var/lib/docker/overlay2/9d7560ad6611992b636316167ff592b38d669ee3d48c5e44855f0d3d75e9c6e8/merged]\\nnvidia-container-cli: mount error: file creation failed: /var/lib/docker/overlay2/9d7560ad6611992b636316167ff592b38d669ee3d48c5e44855f0d3d75e9c6e8/merged/usr/lib/libvisionworks.so: file exists\\n\""”: unknown. site:https://forums.developer.nvidia.com/

OR if the changes the version to 5.0 then it gives the error of file not found.
I have installed the latsest jetpack release.
My docker version is 18.09.2
My jetpack version is 4.9.140-tegra
Please tell me the solution of this error.

Which Jetpack version did you flash to your device? You listed 4.9.140-tegra, but that’s the kernel version, not the Jetpack version. What is the Docker image you’re running? It looks like there is a collision between what the NVIDIA runtime exposes to a container (libvisionworks.so) and what is already in the Docker image you’re launching.

Its too late you replied
Error had already been solved