sid027 / dt1-23

1 stars 5 forks source link

Pushing Image to Docker Hub denied #5

Closed LT2904 closed 9 months ago

LT2904 commented 10 months ago

Hello Singh Siddhartha and Levent Josh,

hope you are well.

I have a problem with a task of our 1st assignment.

I cannot push the image that I have locally in my Docker into the Docker Hub because I get the following error message (see screenshot). Screenshot image push to Docker Hub denied

I have already checked the settings in my Docker ("Browserwise" and Desktop), but I don't know what the problem could be... Can you help or do you have a hint?

Many thanks in advance and best regards ,

sid027 commented 10 months ago

There are few things to keep in mind when you want to push the image.

I think the second one is your problem. Check here: https://jsta.github.io/r-docker-tutorial/04-Dockerhub.html

Let me know if it still doesn't work.

LT2904 commented 10 months ago

Hello Sid,

thank you very much for the information.

I will check it and hope that it will work.

BR Lukas

HaraShun commented 10 months ago

@LT2904

I and my friend also ran into the same problem.

However, by giving the Docker image an alias as shown below, we can now push it to Dockerhub.

$ dokcer tag IMAGE_ID YOUR_DOCKERHUB_USER_NAME/IMAGE_NAME:TAG

IMAGE_ID is image

So, in your case

$ dokcer tag f3e62c112981 YOUR_DOCKERHUB_USER_NAME/assignment_lukas_theobald:v1

I want you to try it !

LT2904 commented 10 months ago

Hey @HaraShun ,

i solved the problem with Sid instructions, Thank you for letting me know and trying to help, I appreciate it! :)