Deepstream-retail-analytics : docker.service failed because the control process exited with error code

• Hardware Platform (Jetson / GPU)* nano
• DeepStream Version 7.0
• JetPack Version (valid for Jetson only) 6.0
• TensorRT Version 8.6.2.3-1+cuda12.2
• NVIDIA GPU Driver Version (valid for GPU only) NVIDIA-SMI 540.2.0
• Issue Type( questions, new requirements, bugs)

Github Link :

When I try to install :

To install NVIDIA container toolkit follow these instructions:

  1. Setup docker repository

sudo apt-get update sudo apt-get install ca-certificates curl gnupg lsb-release sudo mkdir -p /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg echo “deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] Index of linux/ubuntu/ $(lsb_release -cs) stable” | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

  1. Install Docker

sudo apt-get update sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin

  1. Install nvidia-docker

distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \ && curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \ && curl -s -L https://nvidia.github.io/libnvidia-container/$distribution/libnvidia-container.list | \ sed ‘s#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g’ | \ sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list

It give error at sudo systemctl restart docker

ter/deepstream-retail-analytics$ sudo systemctl restart docker
Job for docker.service failed because the control process exited with error code.
See “systemctl status docker.service” and “journalctl -xeu docker.service” for details.

the doc above is a little old. please refer to this link for how to install NVIDIA Container Toolkit.

Sorry for the late reply, Is this still an DeepStream issue to support? Thanks!

Sorry to say you, it does not work.

curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg
&& curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list |
sed ‘s#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g’ |
sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list

sed -i -e ‘/experimental/ s/^#//g’ /etc/apt/sources.list.d/nvidia-container-toolkit.list

sudo apt-get update

sudo apt-get install -y nvidia-container-toolkit

sudo nvidia-ctk runtime configure --runtime=docker

When executed : sudo systemctl restart docker
$ sudo systemctl restart docker
Failed to restart docker.service: Unit docker.service not found.

what is the device model? Orin nano? could you share a whole log? wondering if there is any error tip.

It’s orin nano:

Please find log file here.
logfile_retailanalytics.txt (12.3 KB)

Noticing you are using Jetson and DeepStream 7.0, please refer to this link for how to install docker and nvidia-container-toolkit.

tried this one Ubuntu | Docker Docs as you mentioned, but getting same error.

Job for docker.service failed because the control process exited with error code.
See “systemctl status docker.service” and “journalctl -xeu docker.service” for details.

Log :
logfile_retailanalytics.txt (20.8 KB)

nvcr.io/nvidia/deepstream:6.1-devel is dgpu docker. from the description in the doc, the code was not tested on Jetson. currently there are some suggestions.

  1. please ignore the step " systemctl restart docker", which is not mentioned in the official installation doc.
  2. please refer to the new retail sample.