提示cannot allocate memory,但是没有错误码


I try to remove ‘–runtime nvidia’ and it works good.
Maybe there is a conflict between ‘–privileged=true’ and ‘–runtime nvidia’.

What is the JetPack version (L4T version) and docker related package version are you using?

L4T version: (JetPack 4.6.1 == L4T R32.7.1)

cat /etc/nv_tegra_release 


# R32 (release), REVISION: 7.1, GCID: 29818004, BOARD: t210ref, EABI: aarch64, DATE: Sat Feb 19 17:05:08 UTC 2022

Docker packages:

apt list --installed | grep -e docker -e container


WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

containerd/now 1.5.5-0ubuntu3~18.04.1 arm64 [installed,upgradable to: 1.5.5-0ubuntu3~18.04.2]
docker/bionic,now 1.5-1build1 arm64 [installed],bionic-security,now 20.10.7-0ubuntu5~18.04.3 arm64 [installed]
libnvidia-container-tools/stable,now 1.7.0-1 arm64 [installed]
libnvidia-container0/stable,now 0.10.0+jetpack arm64 [installed]
libnvidia-container1/stable,now 1.7.0-1 arm64 [installed]
nvidia-container-csv-cuda/stable,now 10.2.460-1 arm64 [installed]
nvidia-container-csv-cudnn/stable,now arm64 [installed]
nvidia-container-csv-tensorrt/stable,now arm64 [installed]
nvidia-container-csv-visionworks/stable,now arm64 [installed]
nvidia-container-runtime/stable,now 3.7.0-1 all [installed]
nvidia-container-toolkit/stable,now 1.7.0-1 arm64 [installed]
nvidia-docker2/stable,now 2.8.0-1 all [installed]

At least since JetPack 4.5, similar problems have occurred, and they are all caused by updating to a docker version that is mismatched with the JetPack version.

Hi naisy,
sorry to reply so late.
The JetPack version I used is v4.6 (L4T R32.6.1), see the below.

And the docker information follows

Is there any problem about my machine?
And how to check whether the docker version is matched with the JetPack version?


It looks like you are facing a similar issue as the below topic:

Could you try the solution to see if it also works for your case?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.