# \[SOLVED\] Cannot push docker image

**URL:** <https://forums.docker.com/t/solved-cannot-push-docker-image/57428>\
**Category:** General\
**Tags:** docker\
**Created:** [August 30, 2018, 10:57am UTC](https://forums.docker.com/t/solved-cannot-push-docker-image/57428 "2018-08-30T10:57:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![uploadimage](https://avatars.discourse-cdn.com/v4/letter/u/54ee81/32.png) [@uploadimage](https://forums.docker.com/u/uploadimage)\
**Post date:** [August 30, 2018, 10:57am UTC](https://forums.docker.com/t/solved-cannot-push-docker-image/57428/1 "2018-08-30T10:57:45Z")

</div>

Hello,

I pulled a docker image from dockerhub, modify it and now I want to push it in a different repository so that I can use it. I cannot push to the same repository because I didn’t create this image.

I tried to push it using

docker tag e6774ef543e0 \< username \>/\< img-repository \>  
docker push \< username \>/\< img-repository \>

The image repository is something like: example/example-img

And I get the error:  
denied: requested access to the resource is denied

---

<div class="post-metadata">

**Author:** ![uploadimage](https://avatars.discourse-cdn.com/v4/letter/u/54ee81/32.png) [@uploadimage](https://forums.docker.com/u/uploadimage)\
**Post date:** [August 30, 2018, 11:04am UTC](https://forums.docker.com/t/solved-cannot-push-docker-image/57428/2 "2018-08-30T11:04:12Z")

</div>

I found the problem is the image repository example/example-img I changed it to example and now it all works fine
