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
Error executing action login on resource docker_registry #114
Comments
Added two simple fixes, which you can either use from master or 0.34.0 which I'll be releasing momentarily:
If you still have trouble, please let me know. Thanks for the detailed report. |
It seems you didn't fix the issue with logged_in? method. Why are you checking the attribute :server, :name_attribute => true
|
Hmmm good point... I just figured it wouldn't exist in I'll move it to checking username instead. |
Fix docker_registry login handling, fixes #114
I use the latest version of chef-docker cookbook from the master branch. When I try to login to a private repository the following error is occurred:
Do I have to manually create the missing /root/.dockercfg file?
Btw, when I create it with the content:
it still doesn't solve the problem.
It seems that
logged_in?
always returnstrue
even if we are not logged in. Because of this, thelogin
function isn't called.The text was updated successfully, but these errors were encountered: