Deploying 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.

  1. Clone the Notary repository

     git clone [email protected]:docker/notary.git
    
  2. Build and start Notary Server with the sample certificates.

     docker-compose up -d
    

    For more detailed documentation about how to deploy Notary Server see the instructions to run a Notary service as well as https://github.com/docker/notary for more information.

  3. 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

Please check back here for instructions after Notary Server has an official stable release. To get a head start on deploying Notary in production see https://github.com/docker/notary.

© 2017 Docker, Inc.
Licensed under the Apache License, Version 2.0.
Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries.
Docker, Inc. and other parties may also have trademark rights in other terms used herein.
https://docs.docker.com/v1.12/engine/security/trust/deploying_notary/