使用 Compose 部署 Notary 服务器

部署 Notary Server 最简单的方法是使用 Docker Compose。要遵循本页上的步骤,您必须已经安装了 Docker Compose

  1. 克隆 Notary 仓库。

    $ git clone https://github.com/theupdateframework/notary.git
    
  2. 使用示例证书构建并启动 Notary Server。

    $ docker compose up -d 
    

    有关如何部署 Notary Server 的更详细文档,请参阅运行 Notary 服务的说明以及Notary 仓库以获取更多信息。

  3. 在尝试与 Notary server 交互之前,请确保您的 Docker 或 Notary 客户端信任 Notary Server 的证书。

请参阅 DockerNotary 的说明,具体取决于您使用的是哪一个。

如果您想在生产环境中使用 Notary

Notary Server 有正式稳定版本后,请返回此处查看说明。要提前开始在生产环境中部署 Notary,请参阅Notary 仓库

© . This site is unofficial and not affiliated with Kubernetes or Docker Inc.