Docker: Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: error

Hi, I just got my Jetson Nano 2GB Dev kit and I started following along with the course called “Getting started with AI on Jetson Nano” then ran into an issue. I got to the part where you make the data directory then run the Docker container and when I run the Docker container 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 have looked this up and I can’t find much about it and it’s very frustrating.
Here is the terminal has shown me leading up to it,

                                                                                                                                                                                                                                                                                                                                                                       evan@evan-desktop:~$ mkdir -p ~/nvdli-data                                                                                                                                                                                                   evan@evan-desktop:~$ ls                                                                                                                                                                                                                      Desktop  Documents  Downloads  examples.desktop  Music  nvdli-data  Pictures  Public  Templates  Videos                                                                                                                                      evan@evan-desktop:~$ 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                                                                                                                                                                     evan@evan-desktop:~$                                                                                                                                                                                                                         evan@evan-desktop:~$ ./docker_dli_run.sh                                                                                                                                                                                                     -bash: ./docker_dli_run.sh: Permission denied                                                                                                                                                                                                evan@evan-desktop:~$ chmod +x docker_dli_run.sh                                                                                                                                                                                              evan@evan-desktop:~$ ./docker_dli_run.sh                                                                                                                                                                                                     [sudo] password for evan:                                                                                                                                                                                                                    Unable to find image 'nvcr.io/nvidia/dli/dli-nano-ai:v2.0.1-r32.6.1' locally                                                                                                                                                                 v2.0.1-r32.6.1: Pulling from nvidia/dli/dli-nano-ai                                                                                                                                                                                          b9bb7af7248f: Pull complete                                                                                                                                                                                                                  334a570c08f5: Pull complete                                                                                                                                                                                                                  c8bd4a89e71c: Pull complete                                                                                                                                                                                                                  0a8ce4f08307: Pull complete                                                                                                                                                                                                                  2e163bfa50fc: Pull complete                                                                                                                                                                                                                  8d6d8c86a148: Pull complete                                                                                                                                                                                                                  b483bad8509f: Pull complete                                                                                                                                                                                                                  8da3c6b29858: Pull complete                                                                                                                                                                                                                  a3e94453e320: Pull complete                                                                                                                                                                                                                  40ad1f92affd: Pull complete                                                                                                                                                                                                                  8ac6e2f9e2a0: Pull complete                                                                                                                                                                                                                  cc932e62bbab: Pull complete                                                                                                                                                                                                                  d77841654f58: Pull complete                                                                                                                                                                                                                  2bb42f0b6424: Pull complete                                                                                                                                                                                                                  954e18eab77a: Pull complete                                                                                                                                                                                                                  facc6f8bcc9b: Pull complete                                                                                                                                                                                                                  78d4b308041f: Pull complete                                                                                                                                                                                                                  44f9a409dddf: Pull complete                                                                                                                                                                                                                  dc19965f7530: Pull complete                                                                                                                                                                                                                  73f02f5e17e7: Pull complete                                                                                                                                                                                                                  de4b3c1acb9b: Pull complete                                                                                                                                                                                                                  6c2b9910111b: Pull complete                                                                                                                                                                                                                  1cb44dee771f: Pull complete                                                                                                                                                                                                                  bf00de567184: Pull complete                                                                                                                                                                                                                  b73a0bf964ae: Pull complete                                                                                                                                                                                                                  579ce47ae238: Pull complete                                                                                                                                                                                                                  2262c28018a2: Pull complete                                                                                                                                                                                                                  177925b6dcf7: Pull complete                                                                                                                                                                                                                  7b4747fe9173: Pull complete                                                                                                                                                                                                                  02a1844af779: Pull complete                                                                                                                                                                                                                  f8db2318d17d: Pull complete                                                                                                                                                                                                                  0de061a3a027: Pull complete                                                                                                                                                                                                                  061f9fe486d4: Pull complete                                                                                                                                                                                                                  577717fda284: Pull complete                                                                                                                                                                                                                  99eb42711cda: Pull complete                                                                                                                                                                                                                  f4b5c276e151: Pull complete                                                                                                                                                                                                                  8c40ad4db82e: Pull complete                                                                                                                                                                                                                  0f75432e814b: Pull complete                                                                                                                                                                                                                  e7d8e736231c: Pull complete                                                                                                                                                                                                                  Digest: sha256:7d77446f42a89a1d9885c886ffc2a67e557c5c08665f3e4ee02e9f2d6d0d799b                                                                                                                                                              Status: Downloaded newer image for nvcr.io/nvidia/dli/dli-nano-ai:v2.0.1-r32.6.1                                                                                                                                                             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.

Hi,

Could you share which JetPack version do you use?
Please note that you will need to launch the container with the same OS version.

For example, JetPack 4.6 use r32.6.1.
So please use the nvcr.io/nvidia/dli/dli-nano-ai:v2.0.1-r32.6.1 container.

Thanks.
`

I downloaded the 4.6 and I tried that and it didnt work this is how I put it in.

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

then 
./docker_dli_run.sh
                    

I received 
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.

hi i had the same problem, i fixedd it with the solution from jgardynik in this link

Docker fails to create container after upgrading docker on Jetpack 4.9 · Issue #108 · dusty-nv/jetson-containers (github.com)
hope it work for you

edit: Docker isn’t working after apt upgrade - Jetson & Embedded Systems / Jetson Nano - NVIDIA Developer Forums

4 Likes

The second link fixed it all. Thanks for the help!!! This is a great community, thought I was going to be waiting for a couple of days for an answer.

2 Likes

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