Open baehongjun0212 opened 2 years ago
@baehongjun0212 the libnvidia-encode.so
and libnvcuvid.so
are associated with a particular driver version and are injected into a container by the NVIDIA Container Toolkit when the container is run. This means that these are not available when building a container. It is also not recommended to include them in a container as this would conflict with with host versions when the container runs.
A workflow I could recommend is to build a container and then run this with GPU support and run make
while mounting the project directory from the host to generate a binary. This can then be included in a new container for actually running the executable.
1. Issue or feature description
When you execute the make command in dockerfile, the cuvid, nvidia-encode so file cannot be found. However, when executing the make command in the docker container, find the file cubid, nvida-encode so.
2. Steps to reproduce the issue
my dockerfile
output
cannot found cuvid, nvidia-encode
However, errors do not occur when executing the make command in the docker container.
#RUN make
How can I solve this problem?