-
Notifications
You must be signed in to change notification settings - Fork 511
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
root key location? #987
Comments
@sbkumar007 Apologies, we have flattened the keystore (#549, #872) in The released 0.4.x will still put them in |
Thanks, checkout from commit tag - c8aa8cf - 0.4.2 seem to have fixed the problem. docker can read and push/pull image. |
This seems to be resolved so I'm closing the issue. Feel free to re-open if I'm misunderstanding. |
@sbkumar007 Thanks for letting us know that it worked! I've also updated the README file to reflect the fact that master is our development branch, as well as noted any upcoming changes in master in our CHANGELOG file: #991 |
FYI we do try and keep master stable and working, i.e. you should be able to Our approach so far has been to try and ensure old clients work against new servers, but new clients aren't guaranteed to work against old servers. |
I am running the latest notary
notary
Version: 0.4
Git commit: 3a944e8
with docker 1.12.1 and my private registry.
When I try to push an image this is what I get:
docker push my-registry:5004/test/trusttest:trusted
The push refers to a repository [my-registry/test/trusttest]
5f70bf18a086: Layer already exists
c22f7bc058a9: Layer already exists
trusted: digest: sha256:ebf59c538accdf160ef435f1a19938ab8c0d6bd96aef8d4ddd1b379edf15a926 size: 734
Signing and pushing trust metadata
open /root/.docker/trust/private/root_keys/99a8715713015c4eb7c559d7d5ab2364f373de0c8fe31b27ce1687b128b77e06.key: no such file or directory
My "~/.notary/config.json" looks like this:
{
"trust_dir" : "~/.docker/trust",
"remote_server": {
"url": "https://notary-server:4443",
"root_ca": "/root/notary/root-ca.crt"
}
}
When I look at the keys using notary key list the keys are located in /root/.docker/trust/private and not in /root/.docker/trust/private/root_keys.
What is the expected behavior, where should the root keys be located?
Thanks.
The text was updated successfully, but these errors were encountered: