Docker Community Forums

Share and learn in the Docker community.

DTR repository URL format

(Till Hofmann) #1

I’ve set up a DTR at and I added a user user1 and a repository for that user rep1. What’s the URL I have to use to push images (let’s say myimage)? The DTR user guide suggests it should just be, but that doesn’t really make sense. I tried different URLs:


But none of these work:

$ docker login
Login Succeeded
$ docker push
The push refers to a repository [] (len: 1)
0c1424c81d6f: Preparing 
unauthorized: authentication required

I couldn’t find anything in the documentation about the URL. Which one of the URLs above is correct? Why am I getting an authentication required error?

Both on the server and the client:

$ docker --version
Docker version 1.9.1-cs3, build 28d463f

(Pdmahaf) #2

I am running into the same issue and would be curious what the resolution is (or was). Anyone?

(Till Hofmann) #3

The correct format is The repository must have the same name as the image you’re pushing, e.g. if you want to add an image, then you need to create the repository mongodb for the user user1 first.

in short: repository = image name.