https://bugzilla.redhat.com/show_bug.cgi?id=1218639
Bug ID: 1218639
Summary: docker push to dockerhub does not work (docker 1.16)
Product: Red Hat Enterprise Linux 7
Version: 7.1
Component: docker
Keywords: Extras
Severity: high
Assignee: dwalsh(a)redhat.com
Reporter: miminar(a)redhat.com
QA Contact: lsu(a)redhat.com
CC: adimania(a)gmail.com, admiller(a)redhat.com,
agoldste(a)redhat.com, extras-qa(a)fedoraproject.org,
golang(a)lists.fedoraproject.org, hushan.jia(a)gmail.com,
ichavero(a)redhat.com, jalmansor(a)gmail.com,
jchaloup(a)redhat.com, jhonce(a)redhat.com,
jperrin(a)centos.org, lsm5(a)redhat.com,
maszulik(a)redhat.com, mattdm(a)redhat.com,
mgoldman(a)redhat.com, miminar(a)redhat.com, s(a)shk.io,
spousty(a)redhat.com, thrcka(a)redhat.com,
vbatts(a)redhat.com
Depends On: 1217987
Keywords: Extras
+++ This bug was initially created as a clone of Bug #1217987 +++
Description of problem:
I can build and tag a docker image on my local machine but I can not push it to
dockerhub. I am sure I have a dockerhub account and I can push with F20 and
docker 15. Maceij can push with Ubuntu and Docker 16.
Version-Release number of selected component (if applicable):
Docker version 1.6.0, build 3eac457/1.6.0
How reproducible:
Always
Steps to Reproduce:
1. Make a local docker image
2. Tag it
3. Try to push it to dockerhub
Actual results:
$ sudo docker build -t thesteve0/openshift-qpid:latest .
Sending build context to Docker daemon 2.048 kB
Sending build context to Docker daemon
Step 0 : FROM fedora/qpid
---> 6b45d8271e13
Step 1 : MAINTAINER spousty <spousty(a)redhat.com>
---> Using cache
---> 32b450b8f57a
Step 2 : ENV IMAGE_DESCRIPTION QPID C++ AMQP Server 0.30.3
---> Using cache
---> 03be2f186029
Step 3 : ENV IMAGE_TAGS qpid,qpid030,
---> Using cache
---> 13797654c23f
Step 4 : ENV IMAGE_EXPOSE_SERVICES 5672:qpid
---> Using cache
---> 3a0843e1e66e
Step 5 : EXPOSE 5672
---> Using cache
---> 465c93d05637
Step 6 : ENTRYPOINT qpidd -t --auth=no
---> Using cache
---> 4ff0b3679c09
Successfully built 4ff0b3679c09
$ sudo docker images
REPOSITORY TAG IMAGE ID
CREATED VIRTUAL SIZE
thesteve0/openshift-qpid latest 4ff0b3679c09 2
minutes ago 607.1 MB
$ sudo docker push thesteve0/openshift-qpid:latest
Do you really want to push to public registry? [Y/n]: Y
The push refers to a repository [docker.io/thesteve0/openshift-qpid] (len: 1)
FATA[0001] Repository does not exist: docker.io/thesteve0/openshift-qpid
Expected results:
The image should be pushed to dockerhub
Additional info:
--- Additional comment from Steven Citron-Pousty on 2015-05-03 17:11:15 EDT ---
See the thread starting here for this issue hitting another user a few days ago
https://forums.docker.com/t/docker-push-error-fata-0001-respository-does-...
--- Additional comment from Andy Goldstein on 2015-05-03 22:14:23 EDT ---
The current workaround: sudo docker push
docker.io/thesteve0/openshift-qpid:latest. You need to include the docker.io/
prefix when pushing to the Hub.
--- Additional comment from Jason Al-Mansor on 2015-05-04 11:39:52 EDT ---
I've noticed this issue as well. I tried swapping the package binary with the
binary from docker and it worked fine and it didn't display the public registry
prompt.
--- Additional comment from Michal Minar on 2015-05-05 07:24:17 EDT ---
Thank you Steven for reporting this. PR
https://github.com/rhatdan/docker/pull/48 fixes it.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1217987
[Bug 1217987] docker push to dockerhub does not work (docker 1.16)
--
You are receiving this mail because:
You are on the CC list for the bug.