# I am currently trying to install the zedx driver in the following Docker container. but i can't install zedx driver

**URL:** <https://community.stereolabs.com/t/i-am-currently-trying-to-install-the-zedx-driver-in-the-following-docker-container-but-i-cant-install-zedx-driver/3632>\
**Category:** Docker\
**Tags:** jetson\
**Created:** [October 4, 2023, 7:49am UTC](https://community.stereolabs.com/t/i-am-currently-trying-to-install-the-zedx-driver-in-the-following-docker-container-but-i-cant-install-zedx-driver/3632 "2023-10-04T07:49:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sdk17586](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/s/b4bc9f/32.png) [@sdk17586](https://community.stereolabs.com/u/sdk17586)\
**Post date:** [October 4, 2023, 7:49am UTC](https://community.stereolabs.com/t/i-am-currently-trying-to-install-the-zedx-driver-in-the-following-docker-container-but-i-cant-install-zedx-driver/3632/1 "2023-10-04T07:49:57Z")

</div>

I am currently trying to install the zedx driver in the following Docker container:

docker run -it   
–name zed\_container   
–privileged   
–runtime=nvidia   
–network host   
-e DISPLAY=$DISPLAY   
-e QT\_X11\_NO\_MITSHM=1   
-v /tmp/.X11-unix:/tmp/.X11-unix:rw   
-v /etc/localtime:/etc/localtime:ro   
-e TZ=Asia/Seoul   
-v /dev:/dev   
-w /root   
stereolabs/zed:4.0-tools-devel-l4t-r35.3

But when I try to install the file using sudo dpkg -i stereolabs-zedx\_0.5.4-MAX96712-L4T35.3.1\_arm64.deb, I get the following log. What should I do?

root@ubuntu:~/zed\_ws# sudo dpkg -i stereolabs-zedx\_0.5.4-MAX96712-L4T35.3.1\_arm64.deb  
dpkg: regarding stereolabs-zedx\_0.5.4-MAX96712-L4T35.3.1\_arm64.deb containing stereolabs-zedx, pre-dependency problem:  
stereolabs-zedx pre-depends on nvidia-l4t-core (\>\> 35.3-0)  
nvidia-l4t-core is not installed.

dpkg: error processing archive stereolabs-zedx\_0.5.4-MAX96712-L4T35.3.1\_arm64.deb (–install):  
pre-dependency problem - not installing stereolabs-zedx  
Errors were encountered while processing:  
stereolabs-zedx\_0.5.4-MAX96712-L4T35.3.1\_arm64.deb

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [October 4, 2023, 8:50am UTC](https://community.stereolabs.com/t/i-am-currently-trying-to-install-the-zedx-driver-in-the-following-docker-container-but-i-cant-install-zedx-driver/3632/2 "2023-10-04T08:50:58Z")

</div>

Hi @sdk17586  
you should not install the ZED X driver in the docker container. You must install the ZED SDK in the container.  
The ZED X Driver must be installed on the host device.

---

<div class="post-metadata">

**Author:** ![sdk17586](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/s/b4bc9f/32.png) [@sdk17586](https://community.stereolabs.com/u/sdk17586)\
**Post date:** [October 5, 2023, 5:54am UTC](https://community.stereolabs.com/t/i-am-currently-trying-to-install-the-zedx-driver-in-the-following-docker-container-but-i-cant-install-zedx-driver/3632/3 "2023-10-05T05:54:56Z")

</div>

I tried to follow your instructions. I used the docker image `stereolabs/zed:4.0-tools-devel-jetson-jp5.1.1` I created a container with the following options:  
docker run -it   
–name zed\_container   
–privileged   
–runtime=nvidia   
–network host   
-e DISPLAY=$DISPLAY   
-e QT\_X11\_NO\_MITSHM=1   
-v /tmp/.X11-unix:/tmp/.X11-unix:rw   
-v /etc/localtime:/etc/localtime:ro   
-e TZ=Asia/Seoul   
-v /dev:/dev   
-w /root   
stereolabs/zed:4.0-tools-devel-jetson-jp5.1.1

Inside this container, I installed the `ZED_SDK_Tegra_L4T35.3_v4.0.7.zstd.run` file.  
and i i installed the stereolabs-zedx\_0.5.4-MAX96712-L4T35.3.1\_arm64.deb on the host device.

When I execute the command `roslaunch zed_wrapper zedx.launch` on the host, the camera works. However, when I run the same command inside the docker container, I get the output “CAMERA NOT DETECTED”.

What could be the issue?

---

<div class="post-metadata">

**Author:** ![alassagne](https://community.stereolabs.com/user_avatar/community.stereolabs.com/alassagne/32/2428_2.png) [@alassagne](https://community.stereolabs.com/u/alassagne)\
**Post date:** [October 5, 2023, 12:51pm UTC](https://community.stereolabs.com/t/i-am-currently-trying-to-install-the-zedx-driver-in-the-following-docker-container-but-i-cant-install-zedx-driver/3632/4 "2023-10-05T12:51:23Z")

</div>

Hi,  
You are simply missing things in your docker run command. Can you check out this link [ZED X Advanced Topics | Stereolabs](https://www.stereolabs.com/docs/get-started-with-zed-x/advanced-topics/#zed-x-with-docker) ? You should solve your issue within seconds with that 🙂
