On Thu, 14 Nov 2019, 21:33 Edward Haas, <edwardh@redhat.com> wrote:


On Thu, Nov 14, 2019 at 10:24 PM Nir Soffer <nsoffer@redhat.com> wrote:
On Thu, Nov 14, 2019 at 9:29 PM Edward Haas <edwardh@redhat.com> wrote:
>
> Hi All,
>
> I'm trying to push an image to dockerhub using podman.
> Unfortunately, it does not work, giving me the following error:
>
> ```
> $ sudo podman push 2dfe3d835f08 ovirtorg/vdsm-test-func-network-centos-8
> Getting image source signatures
> Error: Error copying image to the remote destination: Error trying to reuse blob sha256:9e607bb861a7d58bece26dd2c02874beedd6a097c1b6eca5255d5eb0d2236983 at destination: Error checking whether a blob sha256:9e607bb861a7d58bece26dd2c02874beedd6a097c1b6eca5255d5eb0d2236983 exists in docker.io/ovirtorg/vdsm-test-func-network-centos-8: errors:
> denied: requested access to the resource is denied
> error parsing HTTP 401 response body: unexpected end of JSON input: ""
> ```
> (podman login docker.io works fine)
> Has anyone encounter something like this?

Maybe the issue is that we have to create the repository first.

I created it here:
https://hub.docker.com/repository/docker/ovirtorg/vdsm-test-func-network-centos-8

Try to push again.

I think you should be able to create new repositories.

Nir

Now I get something else:

$ sudo podman push 2dfe3d835f08 ovirtorg/vdsm-test-func-network-centos-8
Getting image source signatures
Copying blob 55ac6f41bab4 done
Copying blob 140282e4f2a3 done
Copying blob 9f892f5760ee done
Copying blob 602715c702c3 done
Copying blob 9e607bb861a7 done
Error: Error copying image to the remote destination: Error writing blob: Error initiating layer upload to /v2/ovirtorg/vdsm-test-func-network-centos-8/blobs/uploads/ in registry-1.docker.io: errors:
denied: requested access to the resource is denied
unauthorized: authentication required
docker login

_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/AU2NG5NWCTLAJQFUVMO5IBDFMIGBK7XS/