Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 791 Bytes

pulling-docker-from-private-repository-on-docker-hub.md

File metadata and controls

18 lines (14 loc) · 791 Bytes

Pulling Docker from Private Repository on Docker Hub

If your docker is hosted as private repository on Docker Hub, following the below steps to install the same using Helm

  1. Create a Docker Hub secret in your namespace. On Rancher select your namespace, and navigate to Secrets -> Create -> Registry -> DockerHub. Provide
    • Name: Name of the secret (arbitrary)
    • Username: Docker Hub user id
    • Password: User access token (Make sure original password is NOT given here)
  2. While deploying via Helm add the following into the Helm YAML
image:
    pullPolicy: Always
    repository: openg2p/<your docker repository name>
    tag: <docker tag>
    pullSecrets: <name of the secret>