Docker Issue - Error response from daemon: OCI runtime create failed


I understand this may be a duplicate question but I’m looking for some advice.
I currently have a docker container that allows me to run an inference script using my TensorFlow PB model.

After flashing my Jetson Agx Xavier, I am getting the following error:

I am starting my docker container with the following command:
xhost + && sudo docker run --privileged
–runtime nvidia --network host
-v $(pwd):/raptor
-v $XAUTH:/root/.Xauthority
-v /tmp/.X11-unix:/tmp/.X11-unix
-ti raptor/model_inference:latest bash -i

And I’ve discovered that the docker container runs perfectly without the “–runtime nvidia” parameter.
I didn’t create the docker container myself so if you need to see, for example, the DockerFile or any other docker related files, let me know and I’ll attach them.

Because of my inexperience in this software, I am only clutching at straws for a solution and could be doing with a gentle nudge in the right direction.
My guess is that the problem lies with CUDA and the version installed on my Jetson Xavier but I’m not sure.

I have tried the following forums and have tested many of the suggested solutions but have had no success:

Thanks in advance for any help or advice as its much appreciated.

Kind Regards

Hi @p.lafferty,

When you re-flashed your Jetson, was it with a different version of JetPack-L4T? If so, did you rebuild your container against the version of l4t-base that matches the new L4T version you re-flashed with? Otherwise you will get an error.

For example, if you updated your Jetson to L4T R32.5.0, you must also rebuild your container against l4t-base:r32.5.0 (or against another base container that derives from l4t-base:r32.5.0)

Also, see if you can just run l4t-base:r32.5.0 (or whatever your current L4T version is) with --runtime nvidia

1 Like

Thanks @dusty_nv , I’ve managed to fix my docker container.

Couple of tips for anyone experiencing the same issue:

This can be a painful error to fix and I endured a few weeks of pain but stick at it you’ll figure it out.