# Error running tao container image

**URL:** <https://forums.developer.nvidia.com/t/error-running-tao-container-image/217669>\
**Category:** TAO Toolkit\
**Created:** [June 14, 2022, 9:04pm UTC](https://forums.developer.nvidia.com/t/error-running-tao-container-image/217669 "2022-06-14T21:04:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![MathiasDall](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@MathiasDall](https://forums.developer.nvidia.com/u/MathiasDall)\
**Post date:** [June 14, 2022, 9:04pm UTC](https://forums.developer.nvidia.com/t/error-running-tao-container-image/217669/1 "2022-06-14T21:04:28Z")

</div>

Please provide the following information when requesting support.

• Hardware (T4/V100/Xavier/Nano/etc)  
T4  
• Network Type (Detectnet\_v2/Faster\_rcnn/Yolo\_v4/LPRnet/Mask\_rcnn/Classification/etc)  
\*  
• TLT Version (Please run “tlt info --verbose” and share “docker\_tag” here)  
v3.22.05  
• Training spec file(If have, please share here)  
• How to reproduce the issue ? (This is for errors. Please share the command line and the detailed log here.)

I am running the newest version of TAO on a T4 machine - everything was working fine until today when suddently i am getting the below error:

 ![image](https://global.discourse-cdn.com/nvidia/original/3X/3/e/3e82c73a68c606d6a7823838ab3e6aca48608185.png)

Simple command to reproduce: “docker run [nvcr.io/nvidia/tao/tao-toolkit-tf:v3.22.05-tf1.15.5-py3](http://nvcr.io/nvidia/tao/tao-toolkit-tf:v3.22.05-tf1.15.5-py3)”

Error happens on my RTX3060 machine as well.

Trying to run a training session from the launcher with “tao classification …” causes the container to exit instantly.

Did something change?

br, Mathias

---

<div class="post-metadata">

**Author:** ![Morganh](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/morganh/32/9748_2.png) [@Morganh](https://forums.developer.nvidia.com/u/Morganh)\
**Post date:** [June 15, 2022, 1:48am UTC](https://forums.developer.nvidia.com/t/error-running-tao-container-image/217669/3 "2022-06-15T01:48:16Z")

</div>

I can reproduce this issue. Checking ongoing.

---

<div class="post-metadata">

**Author:** ![Morganh](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/morganh/32/9748_2.png) [@Morganh](https://forums.developer.nvidia.com/u/Morganh)\
**Post date:** [June 15, 2022, 2:03am UTC](https://forums.developer.nvidia.com/t/error-running-tao-container-image/217669/4 "2022-06-15T02:03:22Z")

</div>

Hi,  
Please try below workaround.

$ docker run --runtime=nvidia -it --rm **`--`entrypoint “”** [nvcr.io/nvidia/tao/tao-toolkit-tf:v3.22.05-tf1.15.5-py3](http://nvcr.io/nvidia/tao/tao-toolkit-tf:v3.22.05-tf1.15.5-py3) /bin/bash

---

<div class="post-metadata">

**Author:** ![Morganh](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/morganh/32/9748_2.png) [@Morganh](https://forums.developer.nvidia.com/u/Morganh)\
**Post date:** [June 15, 2022, 6:56am UTC](https://forums.developer.nvidia.com/t/error-running-tao-container-image/217669/5 "2022-06-15T06:56:35Z")

</div>

The 2nd workaround is for uses who want to use tao launcher instead of “docker run”.  
Step:

1. Add `"entrypoint": ""` to ~/.tao\_mounts.json

```auto
    "DockerOptions":{
          "entrypoint": "" ,
          "shm_size": "16G",

```

1. Modify lib/python3.6/site-packages/tao/components/docker\_handler/docker\_handler.py . This file should be available when you install nvidia-tao.

> VALID\_DOCKER\_ARGS = [“user”, “ports”, “shm\_size”, “ulimits”, “privileged”, “network”]

to

> VALID\_DOCKER\_ARGS = [“user”, “ports”, “shm\_size”, “ulimits”, “privileged”, “network”, “entrypoint”]

---

<div class="post-metadata">

**Author:** ![MathiasDall](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@MathiasDall](https://forums.developer.nvidia.com/u/MathiasDall)\
**Post date:** [June 15, 2022, 7:33am UTC](https://forums.developer.nvidia.com/t/error-running-tao-container-image/217669/6 "2022-06-15T07:33:29Z")

</div>

Thanks for the swift reply,

Workarounds are good,

/M

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [June 29, 2022, 7:34am UTC](https://forums.developer.nvidia.com/t/error-running-tao-container-image/217669/7 "2022-06-29T07:34:13Z")

</div>

Closed on June 29, 2022, 7:34am UTC

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