Quick start: inside or open / local environment

IMAGE_REGISTRY selects the registry used for pulled and published images. The default kind setup builds first-party images locally and loads them into the cluster; see image sources for that separate choice.

You are… IMAGE_REGISTRY Images come from
Open / local environment (open source) (empty) Docker Hub: ACE’s own images, plus frozen copies of third-party images under agentcert/. No login.
Enterprise environment infyartifactory.jfrog.io/docker-local Enterprise image repository. Needs your enterprise registry username and an access token.

For a private registry, setup also needs registry credentials and possibly a corporate CA certificate.

For a kind deployment: Docker with Compose v2, git, kind, kubectl, helm, and Python 3. The prerequisite checker reports missing Kubernetes tools; Docker, Compose v2, and git are its hard checks. The agent can use Azure OpenAI, Gemini, OpenRouter, or a local Ollama model. The certifier requires Azure OpenAI credentials to produce reports.

Always pass --deploy. ./scripts/setup.sh on its own only builds images and exits — it never writes .env or touches a cluster. (It still reads .env for IMAGE_REGISTRY, and logs in there so base images resolve.)


Outside the enterprise network

git clone --recurse-submodules https://github.com/AgentCert/ace-monorepo
cd ace-monorepo
./scripts/setup.sh --deploy

At the Image registry question, press Enter to leave it empty. Choose an LLM provider when prompted. If you skip all hosted-provider keys, setup offers to install Ollama and pull a multi-GB model.


Enterprise environment

  1. Clone. Use your usual Git access.
    git clone --recurse-submodules https://github.com/AgentCert/ace-monorepo
    cd ace-monorepo
    
  2. Check that the enterprise registry has every image. Optional, takes about a minute, and every line should say OK:
    cp .env.example .env
    # edit .env: IMAGE_REGISTRY=infyartifactory.jfrog.io/docker-local
    #            REGISTRY_USERNAME=<your registry username>   REGISTRY_PASSWORD=<enterprise registry access token>
    ./scripts/check-registry-images.sh
    
  3. Run setup.
    ./scripts/setup.sh --deploy
    

    At Image registry, enter infyartifactory.jfrog.io/docker-local, then your enterprise registry username and access token. If your machine sits behind the corporate proxy, give the path of the corporate CA certificate when asked.

setup.sh then logs in to the enterprise registry, puts the login into the cluster (scripts/apply_cluster_prereqs.sh), and deploys. Every image the cluster pulls comes from the enterprise registry.

Use the Helm deploy option (the default). For a registry access token: log in to the registry UI → your profile → Generate an Identity Token.


Check that it worked

Run these after setup and after your first experiment.

# Enterprise environment: every image actually pulled must come from the enterprise registry (prints nothing when correct)
kubectl get events -A -o jsonpath='{range .items[?(@.reason=="Pulling")]}{.message}{"\n"}{end}' \
  | grep -v 'infyartifactory.jfrog.io/docker-local/'

# Either network: no pull errors (prints nothing when correct)
kubectl get events -A | grep -E 'ErrImagePull|ImagePullBackOff|401|unauthorized'

Switching networks later

Edit IMAGE_REGISTRY in .env, then run ./scripts/setup.sh --restart. Set it empty to use public images, or to your enterprise registry URL to use that registry.


If something goes wrong

Symptom Fix
401 / unauthorized when pulling Token expired or wrong: update REGISTRY_USERNAME / REGISTRY_PASSWORD in .env, then run ./scripts/apply_cluster_prereqs.sh --deploy
ImagePullBackOff, not found The image is missing from the registry: ./scripts/check-registry-images.sh lists what’s missing. Ask a maintainer to publish it (below)
x509: certificate signed by unknown authority Corporate proxy: set CUSTOM_CA_CERT_PATH=<corporate CA .crt> in .env, then run ./scripts/setup.sh --restart

For maintainers: publishing images

All images are listed once, in deploy/images.txt.

# third-party images (copied as-is, skips what is already there)
./scripts/mirror-images.sh --push                 # into the enterprise registry (IMAGE_REGISTRY from .env)
IMAGE_REGISTRY= ./scripts/mirror-images.sh --push # into the frozen Docker Hub copies (agentcert/)

# ACE's own images, built from the committed code
./scripts/build-and-push.sh --push --committed-only --reuse-local                 # enterprise registry
IMAGE_REGISTRY= ./scripts/build-and-push.sh --push --committed-only --reuse-local # Docker Hub

# verify both, and refresh the link lists
./scripts/check-registry-images.sh --markdown docs/setup/registry-images.md
IMAGE_REGISTRY= ./scripts/check-registry-images.sh --markdown docs/setup/registry-images-dockerhub.md

To add an image, add a line to deploy/images.txt and run the commands above. For how it all works, see registry-migration-plan.md.


ACE — Agent Certification Engine · Released under the Apache License 2.0.