Created
July 12, 2021 13:55
-
-
Save welshstew/f64bd8840269a053532170aeac011289 to your computer and use it in GitHub Desktop.
Create secret for dockerhub things to be used in Openshift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oc create secret docker-registry docker-hub \ | |
--docker-server=docker.io \ | |
--docker-username=youhoo \ | |
--docker-password=yoursecret | |
oc secrets link default docker-hub --for=pull,mount | |
oc secrets link builder docker-hub --for=pull,mount |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment