---
title: "Add public container"
method: POST
path: "/containers/public"
---

# Add public container

`POST /containers/public`

Add public container image to Aikido to scan, such as nginx:latest

## Request body

- object
  - `registry_kind` 'docker-hub' | 'aws-ecr' | 'github' | 'mcr' | 'elastic-co-public' | 'gcr' | 'quay' | 'gcp-artifact' | 'k8s-public', required — The registry where the public container is hosted
  - `container_repo_name` string, required — The full name of the public container
  - `tag` string, required — The container tag

## Response `200`

The public container has been added to aikido.

- object
  - `container_repo_id` integer — The id of the newly added container in aikido

---

[API](https://skmtc.net/aikido/apis/authorization.md) · [All operations](https://skmtc.net/aikido/apis/authorization/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aikido/authorization/versions/5445e7c21137/schema)
