Jetson nano doesnt work with docker

I just bought the jetson-nano developer kit and im following this tutorial on how to get started

Its this part where you set up your docker however when following those steps i run into this error:
docker: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: error adding seccomp filter rule for syscall clone3: permission denied: unknown.

So apperently this is caused by the wrong docker version

How can i downgrade the docker version to make this work?
I came across this fix but this genious doesnt explain how to downgrade docker nor does his approach work for me

Doing this:
sudo apt install ./docker.io_19.03.6-0ubuntu1_18.04.3_arm64.deb

Reading package lists... Done
E: Unsupported file ./docker.io_19.03.6-0ubuntu1_18.04.3_arm64.deb given on commandline

is giving me errors.

So please let me know how to make this work and maybe someon from nvidia could provide a fix in the documentation for that:
Cause i dont understand why i have to look for a fix instead of invidia just making this work out the box:
Im frustated already with my jetson nano and i havent even started using it.

Hi,

Welcome to the NVIDIA Developer forums! I am moving your topic to the Jetson Nano category for better visibility. Someone from the support team should be able to assist you there.

Best,
Tom K

Hi,

Could you check which OS version do you use?
This information can be retrieved via the following command:

$ cat /etc/nv_tegra_release

Then launch the container with the corresponding version.

For example, we are using JetPack 4.6 which is r32.6.1.

$ cat /etc/nv_tegra_release
# R32 (release), REVISION: 6.1, GCID: 27863751, BOARD: t186ref, EABI: aarch64, DATE: Mon Jul 26 19:36:31 UTC 2021

Then the command for our environment should be :


# create a reusable script
echo "sudo docker run --runtime nvidia -it --rm --network host \
    --volume ~/nvdli-data:/nvdli-nano/data \
    --device /dev/video0 \
    nvcr.io/nvidia/dli/dli-nano-ai:v2.0.1-r32.6.1" > docker_dli_run.sh

# make the script executable
chmod +x docker_dli_run.sh

# run the script
./docker_dli_run.sh

Thanks.

I get this error
docker: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: error adding seccomp filter rule for syscall clone3: permission denied: unknown.

I got the same error yesterday.
I was able to run the container without the nvidia runtime tag.

I couldn’t find any solution. I reflashed my memory card and now it works.

check if it works with this

Hi, @user92441 and @user75788

As polok mentioned, there is a known issue that will cause OCI runtime create failed error.

Have you tried the workaround shared in the above link?
If not, would you mind giving it a try?

Thanks.

The problem come from updating docker , ubuntu update docker for 20.04 , and it compatible with your docker container. You should downgrade it.

Solution:

distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \
   && curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - \
   && curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list

sudo apt-get update
sudo apt-get install nvidia-docker2=2.8.0-1

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