Configure the Docker Notary Server

JFrog Artifactory Documentation


Create a directory for your Notary server. In the code snippets below we will use notarybox .

Create a dockerfile with the following content:

FROM debian:jessie

ADD /usr/bin/docker
RUN chmod +x /usr/bin/docker \
        && apt-get update \
        && apt-get install -y \
        tree \
        vim \
        git \
        ca-certificates \

RUN git clone && \
        cp /root/notary/fixtures/root-ca.crt /usr/local/share/ca-certificates/root-ca.crt && \


Use a private certificate

This configuration runs with a public certificate. Any Docker client running with the same public certificate may be able to access your Notary server.

For a secure setup, we recommend replacing it with your organization's private certificate by replacing the public root-ca.crt certificate file with your private certificate under /root/notary/fixtures on your Notary server, and under/usr/local/share/ca-certificates on the machine running your Docker client.

Build the test image:

docker build -t [image name] [path to dockerfile]

If you are running the build in your dockerfile directory, you can just use "." as the path to the Docker file.

Start the Notary server:

To start the Notary server, you first need to have Docker Compose installed.

Then execute the following steps:

cd notarybox 
git clone -b trust-sandbox
cd notary
docker-compose build
docker-compose up -d