New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add docker login using service account tokens #2014
Conversation
cc @v1k0d3n |
cc @brianwcook |
i fully support this awesome PR! :) |
@@ -128,6 +131,16 @@ Restart the origin service to update the running configuration. | |||
$ sudo docker restart origin | |||
---- | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add an anchor right before the heading to ensure that the link above works properly:
[[using-service-account-tokens-for-authentication]]
== Using Service Account Tokens for Authentication
@ahardin-rh updated, rebased, commits squashed. Thanks! |
[rev_history] |
This addresses a common question since
docker login -p $(oc whoami -t) -u unused -e unused REGISTRY:5000
expires every 24 hours by default. I suspect we should incorporate some of this as a separate PR for users who do not want or cannot use openshift to perform docker build.