# Nexus not silently default to /library when proxy docker.io

**URL:** https://community.sonatype.com/t/nexus-not-silently-default-to-library-when-proxy-docker-io/1402
**Category:** Sonatype Nexus Repository
**Created:** [March 6, 2019, 4:35am UTC](https://community.sonatype.com/t/nexus-not-silently-default-to-library-when-proxy-docker-io/1402 "2019-03-06T04:35:12Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![guofengzh](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/guofengzh/32/519_2.png) [@guofengzh](https://community.sonatype.com/u/guofengzh)
#### Post date: [March 6, 2019, 4:35am UTC](https://community.sonatype.com/t/nexus-not-silently-default-to-library-when-proxy-docker-io/1402/1 "2019-03-06T04:35:13Z")

</div>

Hi,

I configured a proxy for docker hub, the remote url is set to [https://docker.io](https://docker.io). According to Pull Images of Nexus document, the following command does not works here:  
docker pull :9090/ubuntu  
I got :  
Error response from daemon: manifest for :9090/ubuntu:latest not found  
if I changed to (added library):  
docker pull :9090/library/ubuntu  
it works well.

That is, Nexus is not silently default to /library here if no namespace provided.

What is wrong with my configuration?

Nexus version: 3.15.2-01

Thanks for your help!

---

<div class="post-metadata">

### Author: ![guofengzh](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/guofengzh/32/519_2.png) [@guofengzh](https://community.sonatype.com/u/guofengzh)
#### Post date: [March 6, 2019, 4:36am UTC](https://community.sonatype.com/t/nexus-not-silently-default-to-library-when-proxy-docker-io/1402/2 "2019-03-06T04:36:51Z")

</div>

wrong formatted, the url should be: **host** :9090

---

<div class="post-metadata">

### Author: ![jtom](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/jtom/32/68_2.png) [@jtom](https://community.sonatype.com/u/jtom)
#### Post date: [March 8, 2019, 4:10pm UTC](https://community.sonatype.com/t/nexus-not-silently-default-to-library-when-proxy-docker-io/1402/3 "2019-03-08T16:10:55Z")

</div>

Try proxying [https://registry-1.docker.io](https://registry-1.docker.io)

If that doesn’t work can you relay your Docker Index?

Full doc here: [https://help.sonatype.com/display/NXRM3/Proxy+Repository+for+Docker](https://help.sonatype.com/display/NXRM3/Proxy+Repository+for+Docker)

---

<div class="post-metadata">

### Author: ![guofengzh](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/guofengzh/32/519_2.png) [@guofengzh](https://community.sonatype.com/u/guofengzh)
#### Post date: [March 10, 2019, 2:29pm UTC](https://community.sonatype.com/t/nexus-not-silently-default-to-library-when-proxy-docker-io/1402/4 "2019-03-10T14:29:26Z")

</div>

Tried again, It works by following the docs to set remote url to [https://registry-1.docker.io](https://registry-1.docker.io) and select Use Docker Hub

Thanks for your help!
