Sign inSign up

ryagi997/deepstream-6.0-python

By ryagi997

Updated over 4 years ago

Deepstream 6.0 container for Jetson devices running JetPack 4.6, with python bindings installed.

Image
0

298

ryagi997/deepstream-6.0-python repository overview

Description

Container for Deepstream 6.0 with installed python bindings for Jetson devices running Jetpack 4.6

Usage

xhost +

sudo docker run -it --rm --net=host --runtime nvidia --device /dev/video0  -e DISPLAY=$DISPLAY -w /opt/nvidia/deepstream/deepstream-6.0/sources/deepstream_python_apps/apps -v ~/my-deepstream-python-apps:/opt/nvidia/deepstream/deepstream-6.0/sources/deepstream_python_apps/apps/my-apps ryagi997/deepstream-6.0-python:samples

Known issues

Permission errors after apt upgrade

The latest version of docker for Nvidia Jetson devices is known to cause permission errors when trying to run Nvidia-based containers. The fix is documented in [this forum post] (https://forums.developer.nvidia.com/t/docker-isnt-working-after-apt-upgrade/195213/6)

The steps to fix are as follows;

  1. Download and install the latest version of docker that supports Nvidia containers
wget https://launchpad.net/ubuntu/+source/docker.io/20.10.2-0ubuntu1~18.04.2/+build/21335731/+files/docker.io_20.10.2-0ubuntu1~18.04.2_arm64.deb
sudo dpkg -i docker.io_20.10.2-0ubuntu1~18.04.2_arm64.deb
rm docker.io_20.10.2-0ubuntu1~18.04.2_arm64.deb
sudo apt install containerd=1.5.2-0ubuntu1~18.04.3

  1. Update the apt preferences file so as to not upgrade docker when calling apt upgrade
sudo vim /etc/apt/preferences
And append the following
Package: docker.io
Pin: version 20.10.2*
Pin-Priority: 1001

Package: containerd
Pin: version 1.5.2*
Pin-Priority: 1001

  1. Update package list and install new versions
sudo apt update && sudo apt upgrade

Tag summary

Content type

Image

Digest

Size

626.6 MB

Last updated

over 4 years ago

docker pull ryagi997/deepstream-6.0-python:base