PUSH docker image to Jfrog artifactory

  • For private and secure storage our organization prefer to store docker images in Jfrog artifactory.
  • The image can be scanned for vulnerabilities before deployment.
  • It can be stored with the multiple versions of the same image with different tags.
  • Artifactory can cache public images from Docker Hub, reducing external dependencies and download times.

To push a docker image to Jfrog Artifactory, we need to login to Artifactory Docker Registry.

<docker login <artifactory-url>

pull docker image from Docker hub

<docker pull <image name>

Tag the image

<docker tag local-image artifactory-url/repo/image-name>

push the image

<docker push artifactory-url/repo/image-name>

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *