How to Push a Docker Image to Docker Hub Using Jenkins

preview_player
Показать описание
Need help with your Jenkins questions?

Timecodes ⏱:

00:00 Introduction
00:20 Overview
00:45 Starting point
01:02 Setup Access Token in Docker Hub
01:59 Create Credential in Jenkins
02:54 Create, run, and review job
06:00 Review image in Docker Hub
06:36 Conclusion

#jenkins #dockerhub #jenkinstutorial

Information referenced in this video:

Jenkins LTS 2.277.2

Using a Credentials store with Docker Engine

CloudBees on Twitter:

Darin on Twitter:
Рекомендации по теме
Комментарии
Автор

I appreciated the docker explanation. Spoke volumes. Great job.

toenytv
Автор

Hi Daren, I have jenkins running in a docker image and end up getting the error message "...script.sh: docker: not found". Any videos you can recomend to fix this?

Guillen
Автор

hello sir, my git repository does not have such a jenkins file, can i add it manually so that it uses the token as password ?
dockerhub says that access is denied when i push an image from jenkins freestyle project

benhadjyahiamehdi
Автор

Hi the darinpope dockerhub repository selected for multibranch pipeline is running in progress for indefinite period. Do we have to select different repository

anupampatil
Автор

When i try to run docker commands in the pipeline, i get "docker: not found".i think i dont have docker installed on my jenkins agent. Can someone help?

אופקגולדשטיין-רס
Автор

I tested as per this tutorial but I am getting an error 'docker not found' when I am building an image inside Jenkins job

yateenbbaluja
Автор

Hi. Can you do a similar example with GHCR? I am incapable of pushing using a Github application that is bound to our organisation. Please let me know!

jpbd
Автор

Thanks for the video. how to solve this warning: Your password will be stored unencrypted in Assume I created docker credentials helper file, how to use it inside the Jenkins pipeline? thank you

aptget
Автор

I wish you explained how you set up the Jenkins account. You lost me at the jenkins part lol

muhuradedan
Автор

Hi Darin
I am having issues executing docker on dockered slave that is windows docker slave, when the controller is on linux
It looks like the slave staerts eecuting docekr, but when trying to execute tests and manuipulation of this image created, it is looking at windws path (this is a windows slave) that I configured beofre in jenkins, but examone it like a linux path and tells me that this path is relative (it is not !!! d:/.../docker_agent/ )

idobistry
Автор

Thanks Darin for great tutorial ! where does the $DOCKERHUB_CREDENTIALS_PSW and $DOCKERHUB_CREDENTIALS_USR are getting from? In case u cover that in some other video it would be really helpful if can refer me, thanks again!

Avico
visit shbcf.ru