Snapshot key trust data unavailable. Has a notary repository been initialized?

I am trying to test the docker content feature with the help of instructions at Play in a content trust sandbox | Docker Docs. So, I made almost everything work but stumbling upon a new issue now. I ran the container linked with notary server etc. (exactly as per the instructions on the above given link). When I am trying to push the image it is giving me the error of - "
Error: trust data missing for remote repository sandboxregistry:5000/test/trusttest or remote repository not found: snapshot key trust data unavailable. Has a notary reposit

ory been initialized?"

My notary server is initialized - Screenshot attached. Can someone help me in solving this issue?

I did not do any changes in the notary and it is exactly as per the instructions on the website. I saw this post - Can't get Notary / Content Trust delegation to work - #9 by dwake but


I still could not resolve it.

Hi,
I have the exact same issue.
My OS is Ubuntu 16.04 LTS, Docker is version 1.11.2.

Any idea about the reason we could have this error “Error: trust data missing for remote repository sandboxregistry:5000/test/trusttest or remote repository not found: snapshot key trust data unavailable. Has a notary repository been initialized?”

I’ve followed this tutorial: https://docs.docker.com/engine/security/trust/trust_sandbox/

Thx,
Alexandre

Hey, Please refer to this post - https://github.com/docker/notary/issues/762#issuecomment-223494830

I was able to solve it.