• Hardware Platform (Jetson / GPU) GPU • DeepStream Version 6.3 • JetPack Version (valid for Jetson only) N/A • TensorRT Version 8.5.03 • NVIDIA GPU Driver Version (valid for GPU only) 535.129.03 • Issue Type( questions, new requirements, bugs) bug • How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing) See below • Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description) N/A
After upgrading from Deepstream 6.1 → 6.3 and following all steps in the documentation, I am unable to use docker run to run bash commands in a container from the nvcr.io/nvidia/deepstream:6.3-gc-triton-devel docker image. A simple test of:
docker run -t nvcr.io/nvidia/deepstream:6.3-gc-triton-devel ls
enters the container but does not run the command ls and hangs. However, running a container from any other docker image, including
docker run -t nvcr.io/nvidia/deepstream:6.1.1-devel ls
Because some images need to initialize Triton and other operations when docker run.
so entrypoint is added in Dockerfile.
As a result, the ls not run as bash command, and because you did not add the -i parameter, docker is not started in interactive mode, and there is no way to receive input.
Thanks @junshengy. Is there a deepstream:6.3-devel image available with similar entrypoints as 6.1.1-devel, so we don’t have to modify nvidia source code? Are there docs somewhere describing these entrypoint changes between 6.1 → 6.3 or do we need to try and reverse engineer 6.1?
Implementing the change you suggested above raises driver errors that are not present otherwise.
Sorry @junshengy, modifying the entrypoint.sh in the way you mentioned works, indeed it was a driver mismatch that I was confused about. I can now execute docker run on an image that modifies that entrypoint with sed during the build phase, ex:
FROM nvcr.io/nvidia/deepstream:6.3-gc-triton-devel
RUN sed -ie '$d' /opt/nvidia/deepstream/deepstream-6.3/entrypoint.sh
RUN sed -ie '$a /opt/nvidia/nvidia_entrypoint.sh $@' /opt/nvidia/deepstream/deepstream-6.3/entrypoint.sh