-
Notifications
You must be signed in to change notification settings - Fork 317
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
How to push Application from private Docker Registry #941
Comments
Hi @harald-luebeck. Can you post the error you get from the fail? Don't forget to remove any passwords etc. if they're in there. Also, do the same credentials work if you use the cli ( |
The push succeeds but the staging Error is: 2019-01-21T11:28:57.49+0100 [STG/0] ERR Failed getting docker image by tag: unauthorized: access to the requested resource is not authorized Going to retry attempt: 1 If i push this stuff via cli it works. |
Thanks for the additional information. We introduced support for private docker repos quite early, when it was still an experimental feature. Unfortunately the implementation details have been changed since then (for example the relevant field has been renamed), so we're not compatible with reality! I've made this an issue for the next release. |
I want to push an Application from a Private Docker Registry. The "push" works but the app fails during staging. It seems that the Docker Registry Authorization Data is not correct.
Here is my Code:
public void deployApplication( final String applicationUId, final String dockerImage, final String dockerUserName, final String dockerPassword )
{
final DefaultCloudFoundryOperations cloudFoundryOperations = DefaultCloudFoundryOperations.builder().cloudFoundryClient( cloudFoundryClient ).dopplerClient( dopplerClient ).uaaClient( uaaClient ).organization( organization ).space( space ).build();
What is my mistake ?
Thanks
The text was updated successfully, but these errors were encountered: