# How can I proxy docker hub private repo but not use the org namespace

**URL:** https://community.sonatype.com/t/how-can-i-proxy-docker-hub-private-repo-but-not-use-the-org-namespace/9144
**Category:** Sonatype Nexus Repository
**Tags:** nexus-repository
**Created:** [August 17, 2022, 2:51pm UTC](https://community.sonatype.com/t/how-can-i-proxy-docker-hub-private-repo-but-not-use-the-org-namespace/9144 "2022-08-17T14:51:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![johnsheehan306](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@johnsheehan306](https://community.sonatype.com/u/johnsheehan306)
#### Post date: [August 17, 2022, 2:51pm UTC](https://community.sonatype.com/t/how-can-i-proxy-docker-hub-private-repo-but-not-use-the-org-namespace/9144/1 "2022-08-17T14:51:25Z")

</div>

Hi

I have docker images in docker hub that I want to proxy to my local nexus.  
I’ve created a group repo in nexus with my hosted and proxy sitting behind it.

The issue I’m having is if I need to pull an image that isn’t in my hosted repo I need to add the org namespace in the docker pull.

Is there a way to just proxy one namespace in dockerhub and then I won’t need to add this.

Current

```auto
docker pull <nexus-url>/<namespace>/<image-name>:<tag>

```

Required remove namespace

```auto
docker pull <nexus-url>/<image-name>:<tag>

```
