Deploy Notary Server with Compose
The easiest way to deploy Notary Server is by using Docker Compose. To follow the procedure on this page, you must have already installed Docker Compose.
Clone the Notary repository.
$ git clone https://github.com/theupdateframework/notary.gitBuild and start Notary Server with the sample certificates.
$ docker compose up -dFor more detailed documentation about how to deploy Notary Server, see the instructions to run a Notary service as well as the Notary repository for more information.
Make sure that your Docker or Notary client trusts Notary Server's certificate before you try to interact with the Notary server.
See the instructions for Docker or for Notary depending on which one you are using.
If you want to use Notary in production
The Compose sample on this page is for local testing and uses sample certificates. For a production deployment, follow the upstream instructions to run a Notary service and the rest of the Notary repository.