Docker Community Forums

Share and learn in the Docker community.

Unable to add repository from dockerhub


(Fullcube1) #1

Hi, I’m having some difficulty adding a private dockerhub repository to docker cloud. We have an organisation profile on dockerhub with several repositories under it, eg:

myorg/myrepo

When trying to add this to docker cloud it errors with the following message:

“{“repository”: {“name”: [“Invalid image name. Should be in the format [registry[:port]/][username/]reponame[:tag]”]}}”

I have tried in the following formats with no success:

myrepo
myorg/myrepo
docker/myorg/myrepo
dockerhub/myorg/myrepo
hub.docker.com/myorg/myrepo
http://hub.docker.com/myorg/myrepo

Along with this I am providing the login credentials of a dockerhub user that has full access to the organisation and all of its repositories on dockerhub

Please can you confirm the expected format?