# Hook-Image-Puller Private

**URL:** <https://discourse.jupyter.org/t/hook-image-puller-private/20865>\
**Category:** JupyterHub\
**Tags:** community, how-to, help-wanted\
**Created:** [August 11, 2023, 4:18pm UTC](https://discourse.jupyter.org/t/hook-image-puller-private/20865 "2023-08-11T16:18:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![1\_1](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/1_1/32/9980_2.png) [@1\_1](https://discourse.jupyter.org/u/1_1)\
**Post date:** [August 11, 2023, 4:18pm UTC](https://discourse.jupyter.org/t/hook-image-puller-private/20865/1 "2023-08-11T16:18:06Z")

</div>

I’m trying to use a private repo with datascience-notebook:python-3.9

And it continually fails, additionally, the hook-image-awaiter (k8s-image-awaiter:2.0.0) from private repo fails as well, however, changing it to the public repo no problem. (Not an issue w/ our private repo as we can pull other images and use them internally no problem)

Does anyone have details as to why this may be an issue and/or what exactly these are doing.

Using helm chart version 2.0.0, also note, when running helm uninstall the daemonset for hook-image-puller and job hook-image-awaiter do not get deleted.

---

<div class="post-metadata">

**Author:** ![1\_1](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/1_1/32/9980_2.png) [@1\_1](https://discourse.jupyter.org/u/1_1)\
**Post date:** [August 11, 2023, 6:01pm UTC](https://discourse.jupyter.org/t/hook-image-puller-private/20865/2 "2023-08-11T18:01:14Z")

</div>

I’m thinking I need to change what the image-awaiter is looking for, for images?

---

<div class="post-metadata">

**Author:** ![1\_1](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/1_1/32/9980_2.png) [@1\_1](https://discourse.jupyter.org/u/1_1)\
**Post date:** [August 11, 2023, 6:40pm UTC](https://discourse.jupyter.org/t/hook-image-puller-private/20865/3 "2023-08-11T18:40:55Z")

</div>

Also, for additional clarity, we had custom images, but for troubleshooting we reverted to default ones.

---

<div class="post-metadata">

**Author:** ![consideRatio](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/consideratio/32/1033_2.png) [@consideRatio](https://discourse.jupyter.org/u/consideRatio)\
**Post date:** [August 12, 2023, 6:32pm UTC](https://discourse.jupyter.org/t/hook-image-puller-private/20865/4 "2023-08-12T18:32:29Z")

</div>

If a private registry is used, you need to provide the credentials to pull the private image one way or another.

You can either reference a k8s Secret, or pass credentials to get one created for you. See the config reference about imagePullSecret(s)

---

<div class="post-metadata">

**Author:** ![1\_1](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/1_1/32/9980_2.png) [@1\_1](https://discourse.jupyter.org/u/1_1)\
**Post date:** [August 14, 2023, 12:51pm UTC](https://discourse.jupyter.org/t/hook-image-puller-private/20865/5 "2023-08-14T12:51:13Z")

</div>

Correct, I don’t have a problem with that, the images are pulled and on the hosts. You’re able to have datascience-notebook:pyton-3.9 function from a private repo?

---

<div class="post-metadata">

**Author:** ![1\_1](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/1_1/32/9980_2.png) [@1\_1](https://discourse.jupyter.org/u/1_1)\
**Post date:** [August 14, 2023, 6:43pm UTC](https://discourse.jupyter.org/t/hook-image-puller-private/20865/6 "2023-08-14T18:43:05Z")

</div>

This was a specific issue w/ the private repo we are using.
