Hello.I installed dokcer container [https://github.com/dusty-nv/jetson-inference/blob/master/docs/aux-docker.md ].
I followed these intructions [How to Commit Changes to a Docker Image (With Example)] and as a result i created a new container with 1 additional package (tqdm).
Sequnce fo my actions:
1.cd home/atlas/jetson-inference
2.docker/run.sh
3.apt-get install python3-pip
4.pip install tqdm
5.exit
6.exit
7.(sudo docker ps -a) sudo docker commit [CONTAINER_ID] [new_image_name]
8.sudo docker run -it —rm -v /home/atlas/Desktop/Jupiter1:/home/atlas/jetson-inference modified
Now i have a problem with an import of the module cv2 in my new modified container:
Also i have the same problem with an original container if i launch it by the command:
"sudo docker run -it —rm -v /home/atlas/Desktop/Jupiter1:/home/atlas/jetson-inference dustynv/jetson-inference "
instead of the command:
“docker/run.sh --volume /my/host/path:/my/container/path (/my/host/path is atlas/desktop/Jupiter1)”
Besides this, i ahve the same problem in the main env.(I get the same error if i try to:
- python3
- import cv2
I tried to install open-cv in the modified docker container to solve this porblem, but i couldnt.
Full log of the installation is here:
log.txt (219.5 KB)
How can I solve the problem with an import of the module cv2 and launch modified container without this problem ?