# Error when pulling a tao-toolkit docker file

**URL:** <https://forums.developer.nvidia.com/t/error-when-pulling-a-tao-toolkit-docker-file/257097>\
**Category:** TAO Toolkit\
**Created:** [June 19, 2023, 6:40am UTC](https://forums.developer.nvidia.com/t/error-when-pulling-a-tao-toolkit-docker-file/257097 "2023-06-19T06:40:45Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![junghyun.hwang](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@junghyun.hwang](https://forums.developer.nvidia.com/u/junghyun.hwang)\
**Post date:** [June 19, 2023, 6:40am UTC](https://forums.developer.nvidia.com/t/error-when-pulling-a-tao-toolkit-docker-file/257097/1 "2023-06-19T06:40:45Z")

</div>

Please provide the following information when requesting support.

• Hardware (T4/V100/Xavier/Nano/etc)  
• 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)  
• 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.)

When I run the ‘tao deformable\_detr train -e ./data/exp\_spec\_file.yaml’ command, it tries to pull the tao-toolkit:4.0.0-pyt image, but I get the following error

Error response from daemon: No such container: 8fdd756d2838f330ae221b7826a0e8702de03722160bbca0be855f23dd314436

So I manually downloaded the image, but I can’t find a way to link the manually downloaded image to the script so that it finds the image from local instead of pulling it from the hub? Or could you guys check the download script?

Also, I have the tao\_mounts.json written in the following way.  
{  
“Mounts”: [  
{  
“source”: “/data/NeuBoat/Avikus/FLL/images/”,  
“destination”: “/workspace/tao-experiments/data/images/”  
},  
{  
“source”: “/home/jhhwang/Workspace/TAO/data/”,  
“destination”: “/workspace/tao-experiments/data/”  
}  
],  
“DockerOptions”: {  
“user”: “1000:1000”,  
“ports”: {  
“8888”: 8888  
}  
}  
}

---

<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 19, 2023, 6:58am UTC](https://forums.developer.nvidia.com/t/error-when-pulling-a-tao-toolkit-docker-file/257097/3 "2023-06-19T06:58:50Z")

</div>

Please run  
$ docker pull [nvcr.io/nvidia/tao/tao-toolkit:4.0.0-pyt](http://nvcr.io/nvidia/tao/tao-toolkit:4.0.0-pyt)

More dockers can be found in

> **[TAO Toolkit | NVIDIA NGC](https://catalog.ngc.nvidia.com/orgs/nvidia/teams/tao/containers/tao-toolkit/tags)**
>
> Docker containers distributed as part of the TAO Toolkit package

---

<div class="post-metadata">

**Author:** ![junghyun.hwang](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@junghyun.hwang](https://forums.developer.nvidia.com/u/junghyun.hwang)\
**Post date:** [June 19, 2023, 7:05am UTC](https://forums.developer.nvidia.com/t/error-when-pulling-a-tao-toolkit-docker-file/257097/4 "2023-06-19T07:05:33Z")

</div>

ahh yes, I have the tao-toolkit:4.0.0-pyt image pulled. Should I have the image running prior to executing tao command?

---

<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 19, 2023, 7:10am UTC](https://forums.developer.nvidia.com/t/error-when-pulling-a-tao-toolkit-docker-file/257097/5 "2023-06-19T07:10:22Z")

</div>

It not needed.  
Actually there are two ways.

1. Using tao launcher.  
For example,  
$ tao detectnet\_v2

2. Using docker directly  
$ docker run --runtime=nvidia -it --rm [nvcr.io/nvidia/tao/tao-toolkit:4.0.0-pyt](http://nvcr.io/nvidia/tao/tao-toolkit:4.0.0-pyt) /bin/bash

---

<div class="post-metadata">

**Author:** ![junghyun.hwang](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@junghyun.hwang](https://forums.developer.nvidia.com/u/junghyun.hwang)\
**Post date:** [June 19, 2023, 7:20am UTC](https://forums.developer.nvidia.com/t/error-when-pulling-a-tao-toolkit-docker-file/257097/6 "2023-06-19T07:20:08Z")

</div>

Yeah, I have been following the first way, which uses ‘the launcher CLI’ described in this link.  
[https://docs.nvidia.com/tao/tao-toolkit/text/tao\_toolkit\_quick\_start\_guide.html](https://docs.nvidia.com/tao/tao-toolkit/text/tao_toolkit_quick_start_guide.html)

In the ‘Launcher CLI’ section, I have done all the previous steps, so I guess I should be able the run the tao command. So I ran the tao command, with ‘deformable\_detr’ task and ‘train’ sub\_task. But I get the error described in the thread.

---

<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 19, 2023, 5:42pm UTC](https://forums.developer.nvidia.com/t/error-when-pulling-a-tao-toolkit-docker-file/257097/7 "2023-06-19T17:42:30Z")

</div>

Can you share the full log?

---

<div class="post-metadata">

**Author:** ![junghyun.hwang](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@junghyun.hwang](https://forums.developer.nvidia.com/u/junghyun.hwang)\
**Post date:** [June 20, 2023, 2:01am UTC](https://forums.developer.nvidia.com/t/error-when-pulling-a-tao-toolkit-docker-file/257097/8 "2023-06-20T02:01:10Z")

</div>

yeah sure,

2023-06-19 13:56:50,149 [INFO] root: Registry: [‘[nvcr.io](http://nvcr.io)’]  
2023-06-19 13:56:50,189 [INFO] tlt.components.instance\_handler.local\_instance: Running command in container: [nvcr.io/nvidia/tao/tao-toolkit:4.0.0-pyt](http://nvcr.io/nvidia/tao/tao-toolkit:4.0.0-pyt)  
Error response from daemon: No such container: 8fdd756d2838f330ae221b7826a0e8702de03722160bbca0be855f23dd314436  
2023-06-19 13:56:51,018 [INFO] tlt.components.docker\_handler.docker\_handler: Stopping container.

This is the full log that I get when I execute the following command.  
tao deformable\_detr train -e ./data/exp\_spec\_file.yaml

---

<div class="post-metadata">

**Author:** ![TomNVIDIA](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/tomnvidia/32/14181_2.png) [@TomNVIDIA](https://forums.developer.nvidia.com/u/TomNVIDIA)\
**Post date:** [June 20, 2023, 1:58pm UTC](https://forums.developer.nvidia.com/t/error-when-pulling-a-tao-toolkit-docker-file/257097/9 "2023-06-20T13:58:37Z")

</div>

This looks to be a problem with [nvcr.io](http://nvcr.io) as others are reporting issues.  
I have the team looking into this now.

Tom

---

<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 20, 2023, 3:43pm UTC](https://forums.developer.nvidia.com/t/error-when-pulling-a-tao-toolkit-docker-file/257097/10 "2023-06-20T15:43:35Z")

</div>

@junghyun.hwang  
How about running  
$ tao info --verbose

and

$ tao ssd run /bin/bash

---

<div class="post-metadata">

**Author:** ![junghyun.hwang](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@junghyun.hwang](https://forums.developer.nvidia.com/u/junghyun.hwang)\
**Post date:** [June 21, 2023, 2:21am UTC](https://forums.developer.nvidia.com/t/error-when-pulling-a-tao-toolkit-docker-file/257097/11 "2023-06-21T02:21:22Z")

</div>

Yeah, I still get a similar error.  
I was able to pull the container,  
but then it says that there is no such container.

2023-06-21 11:13:54,812 [INFO] root: Registry: [‘[nvcr.io](http://nvcr.io)’]  
2023-06-21 11:13:54,874 [INFO] tlt.components.instance\_handler.local\_instance: Running command in container: [nvcr.io/nvidia/tao/tao-toolkit:4.0.0-tf1.15.5](http://nvcr.io/nvidia/tao/tao-toolkit:4.0.0-tf1.15.5)  
2023-06-21 11:13:54,899 [INFO] tlt.components.docker\_handler.docker\_handler: The required docker doesn’t exist locally/the manifest has changed. Pulling a new docker.  
2023-06-21 11:13:54,899 [INFO] tlt.components.docker\_handler.docker\_handler: Pulling the required container. This may take several minutes if you’re doing this for the first time. Please wait here.  
…  
Pulling from repository: [nvcr.io/nvidia/tao/tao-toolkit](http://nvcr.io/nvidia/tao/tao-toolkit)  
2023-06-21 11:19:04,283 [INFO] tlt.components.docker\_handler.docker\_handler: Container pull complete.  
Error response from daemon: No such container: 26fe41a0a8c281101aaa9cdde7e2d4e1b73993c3cbdbe36c0f1dddab7f7ce40d  
2023-06-21 11:19:09,822 [INFO] tlt.components.docker\_handler.docker\_handler: Stopping container.

As Tom I said,  
I can wait until the [nvcr.io](http://nvcr.io) issues are fixed.

---

<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 21, 2023, 2:25am UTC](https://forums.developer.nvidia.com/t/error-when-pulling-a-tao-toolkit-docker-file/257097/12 "2023-06-21T02:25:32Z")

</div>

OK, you can try the workaround. Login the docker directly using `docker run`.

```auto
docker run --runtime=nvidia --shm-size=16g --ulimit memlock=-1 -it --rm nvcr.io/nvidia/tao/tao-toolkit:4.0.0-tf1.15.5 /bin/bash

```

Then run training, etc. Please note that run the command without `tao` in the beginning of command line.  
For example,  
$ ssd train xxx

---

<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 21, 2023, 2:28am UTC](https://forums.developer.nvidia.com/t/error-when-pulling-a-tao-toolkit-docker-file/257097/13 "2023-06-21T02:28:27Z")

</div>

**There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks**

For your case, need to trigger the pytorch docker.

```auto
docker run --runtime=nvidia --shm-size=16g --ulimit memlock=-1 -it --rm nvcr.io/nvidia/tao/tao-toolkit:4.0.0-pyt /bin/bash

```

$ deformable\_detr train xxx

---

<div class="post-metadata">

**Author:** ![junghyun.hwang](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@junghyun.hwang](https://forums.developer.nvidia.com/u/junghyun.hwang)\
**Post date:** [July 5, 2023, 4:59am UTC](https://forums.developer.nvidia.com/t/error-when-pulling-a-tao-toolkit-docker-file/257097/15 "2023-07-05T04:59:08Z")

</div>

is there any issue with ngc registry model?  
I listed available pretrained backbones for object detection, but it seems there is none.  
the ngc version is the latest version 3.24

 ![Screenshot from 2023-07-05 13-58-19](https://global.discourse-cdn.com/nvidia/original/4X/0/1/2/0128af2d3105d9defa73ba81cc4224a353f75cf5.png)  
The command came from the following link.

> **[TAO Pretrained Object Detection | NVIDIA NGC](https://catalog.ngc.nvidia.com/orgs/nvidia/teams/tao/models/pretrained_object_detection)**
>
> Pretrained weights to facilitate transfer learning using TAO Toolkit.

---

<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:** [July 5, 2023, 6:04am UTC](https://forums.developer.nvidia.com/t/error-when-pulling-a-tao-toolkit-docker-file/257097/16 "2023-07-05T06:04:48Z")

</div>

Use below instead.

`ngc registry model list nvidia/tao/pretrained_object_detection:* `

Refer to  
[https://docs.nvidia.com/tao/tao-toolkit/text/tao\_toolkit\_quick\_start\_guide.html#listing-all-available-models](https://docs.nvidia.com/tao/tao-toolkit/text/tao_toolkit_quick_start_guide.html#listing-all-available-models)

---

<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:** [July 24, 2023, 5:57am UTC](https://forums.developer.nvidia.com/t/error-when-pulling-a-tao-toolkit-docker-file/257097/18 "2023-07-24T05:57:31Z")

</div>

Closed on July 24, 2023, 5:57am UTC

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